Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

ConfigDefault.cmake 9.0 KB

You have to be logged in to leave a comment. Sign In
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
  1. #
  2. #
  3. # Copyright (c) 1991-2021 by the GMT Team (https://www.generic-mapping-tools.org/team.html)
  4. # See LICENSE.TXT file for copying and redistribution conditions.
  5. #
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; version 3 or any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU Lesser General Public License for more details.
  14. #
  15. # Contact info: www.generic-mapping-tools.org
  16. #-------------------------------------------------------------------------------
  17. #
  18. # Default GMT settings. DO NOT EDIT THIS FILE!
  19. #
  20. # There are three configuration files:
  21. # 1) "ConfigDefault.cmake" - is version controlled and used to add new default
  22. # variables and set defaults for everyone.
  23. # 2) "ConfigUser.cmake" - is not version controlled (currently listed in
  24. # .gitignore) and used to override basic defaults on a per-user basis.
  25. # 3) "ConfigUserAdvanced.cmake" - is not version controlled (currently listed in
  26. # .gitignore) and used to override advanced defaults on a per-user basis.
  27. #
  28. # NOTE: If you want to change CMake behaviour just for yourself,
  29. # copy "ConfigUserTemplate.cmake" to "ConfigUser.cmake" and then edit
  30. # "ConfigUser.cmake" for basic settings. For advanced settings,
  31. # copy "ConfigUserAdvancedTemplate.cmake" to "ConfigUserAdvanced.cmake" and edit it.
  32. # DO NOT EDIT "ConfigDefault.cmake" or the CMake template files.
  33. #
  34. # The GMT package name.
  35. set (GMT_PACKAGE_NAME "GMT")
  36. # a short description of the gmt project (only a few words).
  37. set (GMT_PACKAGE_DESCRIPTION_SUMMARY "The Generic Mapping Tools")
  38. # Year of the current GMT release.
  39. set (GMT_VERSION_YEAR "2021")
  40. # The GMT release DOI
  41. set (GMT_VERSION_DOI "https://doi.org/10.5281/zenodo.4900001")
  42. # The GMT release citation
  43. set (GMT_VERSION_CITATION "Wessel, P., Luis, J. F., Uieda, L., Scharroo, R., Wobbe, F., Smith, W. H. F., & Tian, D. (2019). The Generic Mapping Tools version 6. Geochemistry, Geophysics, Geosystems, 20, 5556–5564. https://doi.org/10.1029/2019GC008515")
  44. # The GMT package version.
  45. set (GMT_PACKAGE_VERSION_MAJOR 6)
  46. set (GMT_PACKAGE_VERSION_MINOR 3)
  47. set (GMT_PACKAGE_VERSION_PATCH 0)
  48. # If this is a beta version or similar, add a string suffix
  49. #set (GMT_PACKAGE_VERSION_SUFFIX "rc")
  50. # Whether to make a public release.
  51. # When making internal releases or just an ordinary developer build, it is set to FALSE.
  52. # When making *public* release, uncomment to set it to TRUE.
  53. #set (GMT_PUBLIC_RELEASE TRUE)
  54. # The GMT package version.
  55. set (GMT_PACKAGE_VERSION "${GMT_PACKAGE_VERSION_MAJOR}.${GMT_PACKAGE_VERSION_MINOR}.${GMT_PACKAGE_VERSION_PATCH}${GMT_PACKAGE_VERSION_SUFFIX}")
  56. # The API version (SOVERSION) of the GMT libraries.
  57. # Increment this when more or fewer functions are included in the
  58. # library, the function prototype changes, or data type changes.
  59. set (GMT_LIB_SOVERSION 6)
  60. # The build version (VERSION) of the GMT libraries.
  61. set (GMT_LIB_VERSION "${GMT_LIB_SOVERSION}.${GMT_PACKAGE_VERSION_MINOR}.${GMT_PACKAGE_VERSION_PATCH}")
  62. # The name of the official GMT supplemental shared library (if built).
  63. set (GMT_SUPPL_LIB_NAME "supplements")
  64. # The GMT documentation URL
  65. if (GMT_PUBLIC_RELEASE OR GMT_PACKAGE_VERSION_PATCH)
  66. set (GMT_DOC_URL "https://docs.generic-mapping-tools.org/${GMT_PACKAGE_VERSION_MAJOR}.${GMT_PACKAGE_VERSION_MINOR}")
  67. else (GMT_PUBLIC_RELEASE OR GMT_PACKAGE_VERSION_PATCH)
  68. set (GMT_DOC_URL "https://docs.generic-mapping-tools.org/dev")
  69. endif (GMT_PUBLIC_RELEASE OR GMT_PACKAGE_VERSION_PATCH)
  70. # Use SI units per default
  71. if (NOT UNITS)
  72. set (UNITS "SI")
  73. endif (NOT UNITS)
  74. # Copy coastline support data to the installation
  75. if (NOT DEFINED COPY_GSHHG)
  76. set (COPY_GSHHG TRUE)
  77. endif (NOT DEFINED COPY_GSHHG)
  78. # Copy DCW support data to the installation
  79. if (NOT DEFINED COPY_DCW)
  80. set (COPY_DCW TRUE)
  81. endif (NOT DEFINED COPY_DCW)
  82. # The max RMS error in graphicmagick comparisons of PS files
  83. if (NOT DEFINED GRAPHICSMAGICK_RMS)
  84. set (GRAPHICSMAGICK_RMS "0.003")
  85. endif (NOT DEFINED GRAPHICSMAGICK_RMS)
  86. # File locking off
  87. if (NOT DEFINED FLOCK)
  88. set (FLOCK off)
  89. endif (NOT DEFINED FLOCK)
  90. # Build supplements is on
  91. if (NOT DEFINED BUILD_SUPPLEMENTS)
  92. set (BUILD_SUPPLEMENTS TRUE)
  93. endif (NOT DEFINED BUILD_SUPPLEMENTS)
  94. # Install into traditional directory structure per default
  95. if (NOT DEFINED GMT_INSTALL_TRADITIONAL_FOLDERNAMES)
  96. set (GMT_INSTALL_TRADITIONAL_FOLDERNAMES ON)
  97. endif (NOT DEFINED GMT_INSTALL_TRADITIONAL_FOLDERNAMES)
  98. # Do not enforce GPL conformity per default. This enables routines that cannot
  99. # normally be redistributed under the terms of the GPL such as Shewchuk's triangulation.
  100. if (NOT DEFINED LICENSE_RESTRICTED)
  101. set (LICENSE_RESTRICTED no)
  102. endif (NOT DEFINED LICENSE_RESTRICTED)
  103. # Default location of release documentation. If the directory exists in the
  104. # source tree, the files will be copied to GMT_DOCDIR instead of creating
  105. # documentation from source:
  106. if (NOT DEFINED GMT_INSTALL_EXTERNAL_DOC)
  107. set (GMT_INSTALL_EXTERNAL_DOC ${GMT_SOURCE_DIR}/doc_release)
  108. endif (NOT DEFINED GMT_INSTALL_EXTERNAL_DOC)
  109. # Default location of release manpages. If the directory exists in the source
  110. # tree, the files will be copied to GMT_MANDIR instead of creating manpages
  111. # from source:
  112. if (NOT DEFINED GMT_INSTALL_EXTERNAL_MAN)
  113. set (GMT_INSTALL_EXTERNAL_MAN ${GMT_SOURCE_DIR}/man_release)
  114. endif (NOT DEFINED GMT_INSTALL_EXTERNAL_MAN)
  115. # Directory in which to install the release sources per default
  116. if (NOT DEFINED GMT_RELEASE_PREFIX)
  117. set (GMT_RELEASE_PREFIX ${GMT_BINARY_DIR}/gmt-${GMT_PACKAGE_VERSION})
  118. endif (NOT DEFINED GMT_RELEASE_PREFIX)
  119. # Default location of remote data server
  120. if (NOT DEFINED GMT_DATA_SERVER)
  121. set (GMT_DATA_SERVER "oceania")
  122. endif (NOT DEFINED GMT_DATA_SERVER)
  123. # Default name of ghostscript executable
  124. if (NOT DEFINED GMT_GS_EXECUTABLE)
  125. if (WIN32)
  126. set (GMT_GS_EXECUTABLE "gswin64c")
  127. else (WIN32)
  128. set (GMT_GS_EXECUTABLE "gs")
  129. endif (WIN32)
  130. endif (NOT DEFINED GMT_GS_EXECUTABLE)
  131. # You can set the build configuration type as a command-line argument to 'cmake' using -DCMAKE_BUILD_TYPE:STRING=Debug for example.
  132. # If no build configuration type was given as a command-line option to 'cmake' then a default cache entry is set here.
  133. # A cache entry is what appears in the 'CMakeCache.txt' file that CMake generates - you can edit that file directly or use the CMake GUI to edit it.
  134. # The user can then set this parameter via the CMake GUI before generating the native build system.
  135. # NOTE: this is not needed for visual studio because it has multiple configurations in the ide (and CMake includes them all).
  136. # however makefile generators can only have one build type (to have multiple build types you'll need multiple out-of-place builds - one for each build type).
  137. #
  138. # The following are some valid build configuration types:
  139. # 1) Debug - no optimisation with debug info.
  140. # 2) Release - release build optimised for speed.
  141. # 3) RelWithDebInfo - release build optimised for speed with debug info.
  142. # 4) MinSizeRel - release build optimised for size.
  143. # The following is from http://mail.kde.org/pipermail/kde-buildsystem/2008-November/005112.html...
  144. #
  145. # "The way to identify whether a generator is multi-configuration is to
  146. # check whether CMAKE_CONFIGURATION_TYPES is set. The VS/XCode generators
  147. # set it (and ignore CMAKE_BUILD_TYPE). The Makefile generators do not
  148. # set it (and use CMAKE_BUILD_TYPE). If CMAKE_CONFIGURATION_TYPES is not
  149. # already set, don't set it."
  150. #
  151. if (NOT DEFINED CMAKE_CONFIGURATION_TYPES)
  152. if (NOT DEFINED CMAKE_BUILD_TYPE)
  153. set (CMAKE_BUILD_TYPE Release CACHE STRING
  154. "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
  155. FORCE)
  156. endif (NOT DEFINED CMAKE_BUILD_TYPE)
  157. endif (NOT DEFINED CMAKE_CONFIGURATION_TYPES)
  158. # Turn this on if you want to...
  159. # Unix: see compiler commands echoed to console and messages about make
  160. # entering and leaving directories.
  161. # VisualStudio: see compiler commands.
  162. # Setting CMAKE_VERBOSE_MAKEFILE to 'true'...
  163. # Unix: puts 'VERBOSE=1' in the top Makefile.
  164. # VisualStudio: sets SuppressStartupBanner to FALSE.
  165. # If CMAKE_VERBOSE_MAKEFILE is set to 'false' and you want to turn on
  166. # verbosity temporarily you can...
  167. # Unix: type 'make VERBOSE=1' on the command-line when building.
  168. # VisualStudio: change SuppressStartupBanner to 'no' in "project
  169. # settings->configuration properties->*->general".
  170. if (NOT DEFINED CMAKE_VERBOSE_MAKEFILE)
  171. set (CMAKE_VERBOSE_MAKEFILE false)
  172. endif (NOT DEFINED CMAKE_VERBOSE_MAKEFILE)
  173. # Currently only support shared libraries
  174. if (NOT DEFINED BUILD_SHARED_LIBS)
  175. set (BUILD_SHARED_LIBS true)
  176. endif (NOT DEFINED BUILD_SHARED_LIBS)
  177. # look also for lib64 when building 64-bit binaries
  178. if (NOT DEFINED FIND_LIBRARY_USE_LIB64_PATHS)
  179. set (FIND_LIBRARY_USE_LIB64_PATHS true)
  180. endif (NOT DEFINED FIND_LIBRARY_USE_LIB64_PATHS)
  181. # search order for find_*
  182. set (CMAKE_FIND_FRAMEWORK LAST)
  183. # install GMT developer include files
  184. if (NOT DEFINED BUILD_DEVELOPER)
  185. set (BUILD_DEVELOPER true)
  186. endif (NOT DEFINED BUILD_DEVELOPER)
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...