| 21 | |
| 22 | $ cat ossim-osgeo-cmake-config.sh |
| 23 | $ cat ossim-osgeo-cmake-config.sh |
| 24 | #!/bin/sh |
| 25 | |
| 26 | build_dir="/work/osgeo"; |
| 27 | |
| 28 | cmake -G "Unix Makefiles" \ |
| 29 | -DBUILD_CSMAPI=OFF \ |
| 30 | -DBUILD_LIBRARY_DIR=lib \ |
| 31 | -DBUILD_OMS=ON \ |
| 32 | -DBUILD_OSSIM=ON \ |
| 33 | -DBUILD_OSSIM_PLUGIN=ON \ |
| 34 | -DBUILD_OSSIMCONTRIB_PLUGIN=ON \ |
| 35 | -DBUILD_OSSIMCSM_PLUGIN=OFF \ |
| 36 | -DBUILD_OSSIMGDAL_PLUGIN=ON \ |
| 37 | -DBUILD_OSSIMHDF_PLUGIN=OFF \ |
| 38 | -DBUILD_OSSIMKAKADU_PLUGIN=ON \ |
| 39 | -DBUILD_OSSIMKMLSUPEROVERLAY_PLUGIN=OFF \ |
| 40 | -DBUILD_OSSIMLAS_PLUGIN=ON \ |
| 41 | -DBUILD_OSSIMLIBLAS_PLUGIN=ON \ |
| 42 | -DBUILD_OSSIMLIBRAW_PLUGIN=ON \ |
| 43 | -DBUILD_OSSIMMRSID_PLUGIN=ON \ |
| 44 | -DBUILD_OSSIMNDF_PLUGIN=ON \ |
| 45 | -DBUILD_OSSIMNUI_PLUGIN=OFF \ |
| 46 | -DBUILD_OSSIMOPENJPEG_PLUGIN=ON \ |
| 47 | -DBUILD_OSSIMPNG_PLUGIN=ON \ |
| 48 | -DBUILD_OSSIMREGISTRATION_PLUGIN=ON \ |
| 49 | -DBUILD_OSSIMQT4=ON \ |
| 50 | -DBUILD_OSSIM_MPI_SUPPORT=OFF \ |
| 51 | -DBUILD_OSSIMPLANET=ON \ |
| 52 | -DBUILD_OSSIMPLANETQT=ON \ |
| 53 | -DBUILD_OSSIMPREDATOR=ON \ |
| 54 | -DBUILD_OSSIM_TEST_APPS=ON \ |
| 55 | -DBUILD_RAPIER_TEST_APPS=ON \ |
| 56 | -DBUILD_RUNTIME_DIR=bin \ |
| 57 | -DBUILD_SHARED_LIBS=ON \ |
| 58 | -DBUILD_WMS=ON \ |
| 59 | -DCMAKE_BUILD_TYPE=Debug \ |
| 60 | -DCMAKE_INCLUDE_PATH=${build_dir}/local/include \ |
| 61 | -DCMAKE_INSTALL_PREFIX=${build_dir}/local \ |
| 62 | -DCMAKE_LIBRARY_PATH=${build_dir}/local/lib \ |
| 63 | -DCMAKE_MODULE_PATH=${build_dir}/ossim_package_support/cmake/CMakeModules \ |
| 64 | -DKAKADU_ROOT_SRC=/work/drb/kakadu/latest \ |
| 65 | -DKAKADU_AUX_LIBRARY=${build_dir}/local/lib64/libkdu_a64R.so \ |
| 66 | -DKAKADU_LIBRARY=${build_dir}/local/lib64/libkdu_v64R.so \ |
| 67 | -DMPI_INCLUDE_PATH=/usr/include/openmpi-x86_64 \ |
| 68 | -DMPI_LIBRARY=/usr/lib64/openmpi/lib/libmpi.so \ |
| 69 | -DMRSID_LIBRARY=${build_dir}/local/lib/libltidsdk.a \ |
| 70 | -DOSSIM_BUILD_ADDITIONAL_DIRECTORIES="${build_dir}/ossimjni;${build_dir}/Rapier;${build_dir}/ossim_rapier_plugin" \ |
| 71 | -DOSSIM_COMPILE_WITH_FULL_WARNING=ON \ |
| 72 | -DOSSIM_DEPENDENCIES=${build_dir}/local \ |
| 73 | -DOSSIM_DEV_HOME=${build_dir} \ |
| 74 | -DOSSIM_INSTALL_PLUGINS_WITH_VERSION=OFF \ |
| 75 | -DOSSIM_LIBRARIES=${build_dir}/build/lib/libossim.so \ |
| 76 | -DOSSIMPLANET_ENABLE_EPHEMERIS=ON \ |
| 77 | ../ossim_package_support/cmake/ |
| 78 | |
| 79 | |