-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -s to build-release to allow signing with default no signing (#8260)
* Add -s to build-relese to allow signing with default no signing We now need to psas -s if Paul or Max is to sign the bundle. Default is no signing. * Update build-release.sh * Update .gitignore
- Loading branch information
1 parent
af1a38b
commit 9a7850e
Showing
4 changed files
with
54 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# | ||
# Use this file as ConfigUser.cmake when building the release | ||
# Make sure GMT_GSHHG_SOURCE and GMT_DCW_SOURCE are defined in | ||
# your environment and pointing to the latest releases. | ||
# Unless you are Paul, make sure GMT_REPO_DIR is defined in | ||
# your environment. | ||
# | ||
#------------------------------------------------------------- | ||
set (CMAKE_BUILD_TYPE Release) | ||
if ($ENV{USER} STREQUAL "pwessel") | ||
set (CMAKE_INSTALL_PREFIX "gmt-${GMT_PACKAGE_VERSION}") | ||
else () | ||
set (CMAKE_INSTALL_PREFIX "$ENV{GMT_REPO_DIR}/build/gmt-${GMT_PACKAGE_VERSION}") | ||
endif() | ||
set (GSHHG_ROOT "$ENV{GMT_GSHHG_SOURCE}") | ||
set (DCW_ROOT "$ENV{GMT_DCW_SOURCE}") | ||
|
||
#set (GMT_USE_THREADS TRUE) | ||
set (GMT_ENABLE_OPENMP TRUE) | ||
|
||
# recommended even for release build | ||
set (CMAKE_C_FLAGS "-Wall -Wdeclaration-after-statement ${CMAKE_C_FLAGS}") | ||
# extra warnings | ||
set (CMAKE_C_FLAGS "-Wextra ${CMAKE_C_FLAGS}") | ||
# Include all the external executables and shared libraries | ||
# The add_macOS_cpack.txt is created by build-release.sh and placed in build | ||
if (APPLE) | ||
# Try to codesign the Apple Bundle application if Paul or Max is building it | ||
if (($ENV{USER} STREQUAL "pwessel") OR ($ENV{USER} STREQUAL "mjones") AND GMT_PUBLIC_RELEASE) | ||
set (CPACK_BUNDLE_APPLE_CERT_APP "Developer ID Application: University of Hawaii (B8Y298FMLQ)") | ||
set (CPACK_BUNDLE_APPLE_CODESIGN_PARAMETER "--deep -f --options runtime") | ||
endif () | ||
set (EXTRA_INCLUDE_EXES "${CMAKE_BINARY_DIR}/add_macOS_cpack.txt") | ||
endif (APPLE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters