Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
more mac bundling cleanup and streamlining
- Loading branch information
Showing
7 changed files
with
204 additions
and
294 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
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,42 @@ | ||
# 0vars - redefine cmakecache vars, needed by all other bundling scripts | ||
# ! cmakecache vars not available to external scripts | ||
# so we configure it first to do substitutions | ||
# make sure to use @varname@ | ||
|
||
# kill boolean warnings | ||
CMAKE_POLICY (SET CMP0012 NEW) | ||
|
||
# cmake | ||
SET (CPACK_PACKAGE_VERSION_MAJOR @CPACK_PACKAGE_VERSION_MAJOR@) | ||
SET (CPACK_PACKAGE_VERSION_MINOR @CPACK_PACKAGE_VERSION_MINOR@) | ||
SET (CMAKE_VERBOSE_MAKEFILE "@CMAKE_VERBOSE_MAKEFILE@") | ||
SET (CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@") | ||
SET (CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@") | ||
|
||
# OS X options | ||
SET (CMAKE_OSX_ARCHITECTURES "@CMAKE_OSX_ARCHITECTURES@") | ||
SET (OSX_HAVE_LOADERPATH @OSX_HAVE_LOADERPATH@) | ||
|
||
# QGIS | ||
SET (QGIS_APP_NAME "@QGIS_APP_NAME@") | ||
SET (QGIS_MACAPP_PREFIX "@QGIS_MACAPP_PREFIX@") | ||
SET (QGIS_FW_SUBDIR "@QGIS_FW_SUBDIR@") | ||
SET (QGIS_FW_SUBDIR_REV "@QGIS_FW_SUBDIR_REV@") | ||
SET (QGIS_BIN_SUBDIR "@QGIS_BIN_SUBDIR@") | ||
SET (QGIS_BIN_SUBDIR_REV "@QGIS_BIN_SUBDIR_REV@") | ||
SET (QGIS_CGIBIN_SUBDIR "@QGIS_CGIBIN_SUBDIR@") | ||
SET (QGIS_CGIBIN_SUBDIR_REV "@QGIS_CGIBIN_SUBDIR_REV@") | ||
SET (QGIS_LIB_SUBDIR "@QGIS_LIB_SUBDIR@") | ||
SET (QGIS_LIB_SUBDIR_REV "@QGIS_LIB_SUBDIR_REV@") | ||
SET (QGIS_LIBEXEC_SUBDIR "@QGIS_LIBEXEC_SUBDIR@") | ||
SET (QGIS_LIBEXEC_SUBDIR_REV "@QGIS_LIBEXEC_SUBDIR_REV@") | ||
SET (QGIS_PLUGIN_SUBDIR "@QGIS_PLUGIN_SUBDIR@") | ||
SET (QGIS_PLUGIN_SUBDIR_REV "@QGIS_PLUGIN_SUBDIR_REV@") | ||
SET (QGIS_DATA_SUBDIR "@QGIS_DATA_SUBDIR@") | ||
SET (QGIS_DATA_SUBDIR_REV "@QGIS_DATA_SUBDIR_REV@") | ||
|
||
# optional components | ||
SET (WITH_GLOBE "@WITH_GLOBE@") | ||
SET (WITH_GRASS "@WITH_GRASS@") | ||
SET (WITH_MAPSERVER "@WITH_MAPSERVER@") | ||
SET (WITH_POSTGRESQL "@WITH_POSTGRESQL@") |
Oops, something went wrong.