From 532a0f5408f84510abebb2e58da8b7dac7b90ea7 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Sat, 13 Sep 2014 21:05:12 +0000 Subject: Start implementation of CMake support for proj.4 #243 git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2523 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src') 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) -- cgit v1.2.3