aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 5441d9261bc60814dbbe3f236476f79fa5d971b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)