-
Notifications
You must be signed in to change notification settings - Fork 34
/
CMakeLists.txt
65 lines (60 loc) · 2.8 KB
/
CMakeLists.txt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# CMake build system for proj-data releases.
cmake_minimum_required(VERSION 2.6)
project(PROJ_DATA)
set(PROJ_DATA_VERSION_MAJOR 1)
set(PROJ_DATA_VERSION_MINOR 21)
set(CPACK_SOURCE_GENERATOR "TGZ;ZIP")
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
set(CPACK_SOURCE_PACKAGE_FILE_NAME "proj-data-${PROJ_DATA_VERSION_MAJOR}.${PROJ_DATA_VERSION_MINOR}")
set(CPACK_SOURCE_IGNORE_FILES "/travis/;/.github/;/.git/;.swp$;.*~;.py$;.sh$;/scripts/;${CPACK_SOURCE_IGNORE_FILES}")
set(CPACK_INSTALL_COMMANDS
"${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/tmp"
"${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/README.DATA ${CMAKE_BINARY_DIR}/tmp"
"${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/copyright_and_licenses.csv ${CMAKE_BINARY_DIR}/tmp"
)
set(CPACK_SOURCE_INSTALLED_DIRECTORIES
"${CMAKE_BINARY_DIR}/tmp/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/ar_ign/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/at_bev/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/au_ga/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/au_icsm/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/be_ign/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/br_ibge/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/ca_nrc/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/ca_que_mern/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/ch_swisstopo/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/cz_cuzk/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_adv/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_bkg/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_geosn/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_hvbg/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_lgl_bw/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_lgvl_saarland/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/de_tlbg_thueringen/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/dk_sdfe/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/dk_sdfi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/es_ign/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/es_cat_icgc/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/eur_nkg/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/fi_nls/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/fr_ign/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/hu_bme/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/is_lmi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/jp_gsi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/mx_inegi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/nc_dittt/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/nl_nsgi/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/no_kv/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/nz_linz/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/pl_gugik/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/pt_dgt/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/se_lantmateriet/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/si_gurs/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/sk_gku/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/uk_os/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/us_nga/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/us_noaa/" "."
"${CMAKE_CURRENT_SOURCE_DIR}/za_cdngi/" "."
)
include(CPack)
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)