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

ConfigReleaseBuild.cmake 1.2 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
  1. #
  2. # Use this file as ConfigUser.cmake when building the release
  3. # Make sure GMT_GSHHG_SOURCE and GMT_DCW_SOURCE are defined in
  4. # your environment and pointing to the latest releases.
  5. #
  6. #-------------------------------------------------------------
  7. set (CMAKE_BUILD_TYPE Release)
  8. set (CMAKE_INSTALL_PREFIX "gmt-${GMT_PACKAGE_VERSION}")
  9. set (GSHHG_ROOT "$ENV{GMT_GSHHG_SOURCE}")
  10. set (DCW_ROOT "$ENV{GMT_DCW_SOURCE}")
  11. #set (GMT_USE_THREADS TRUE)
  12. set (GMT_ENABLE_OPENMP TRUE)
  13. set (GMT_PUBLIC_RELEASE TRUE)
  14. # recommended even for release build
  15. set (CMAKE_C_FLAGS "-Wall -Wdeclaration-after-statement ${CMAKE_C_FLAGS}")
  16. # extra warnings
  17. set (CMAKE_C_FLAGS "-Wextra ${CMAKE_C_FLAGS}")
  18. # Include all the external executables and shared libraries
  19. # The add_macOS_cpack.txt is created by build-release.sh and placed in build
  20. if (APPLE)
  21. # Try to codesign the Apple Bundle application if Paul is building it
  22. if ($ENV{USER} STREQUAL "pwessel")
  23. set (CPACK_BUNDLE_APPLE_CERT_APP "Developer ID Application: University of Hawaii (B8Y298FMLQ)")
  24. set (CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER "--deep -f --options runtime")
  25. endif
  26. set (EXTRA_INCLUDE_EXES "${CMAKE_BINARY_DIR}/add_macOS_cpack.txt")
  27. endif (APPLE)
Tip!

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

Comments

Loading...