diff options
| author | Howard Butler <howard@hobu.co> | 2014-09-13 21:05:12 +0000 |
|---|---|---|
| committer | Howard Butler <howard@hobu.co> | 2014-09-13 21:05:12 +0000 |
| commit | 532a0f5408f84510abebb2e58da8b7dac7b90ea7 (patch) | |
| tree | c6bde5aeae55cbf44d66a1979eee86503bb9d97b /src/CMakeLists.txt | |
| parent | a008db13413e40fbdf162d03ae94c1c04fff39d9 (diff) | |
| download | PROJ-532a0f5408f84510abebb2e58da8b7dac7b90ea7.tar.gz PROJ-532a0f5408f84510abebb2e58da8b7dac7b90ea7.zip | |
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
Diffstat (limited to 'src/CMakeLists.txt')
| -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) |
