diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 00000000..5441d926 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,25 @@ +# first include proj library +# always need +include(lib_proj.cmake) + +# configure executable build +option(BUILD_CS2CS "Build cs2cs (coordinate systems to coordinate systems translation tool)" OFF) +option(BUILD_PROJ "Build proj (cartographic projection tool : latlong <-> projected coordinates" OFF) +option(BUILD_GEOD "Build geod (computation of geodesic lines)" OFF) +option(BUILD_NAD2BIN "Build nad2bin (format conversion tool) " OFF) + +if(BUILD_CS2CS) + include(bin_cs2cs.cmake) +endif(BUILD_CS2CS) + +if(BUILD_PROJ) + include(bin_proj.cmake) +endif(BUILD_PROJ) + +if(BUILD_GEOD) + include(bin_geod.cmake) +endif(BUILD_GEOD) + +if(BUILD_NAD2BIN) + include(bin_nad2bin.cmake) +endif(BUILD_NAD2BIN) |
