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
CMake|OS X: Fixed issues with the CPack installation procedure
In custom install scripts, CMAKE_INSTALL_PREFIX will be different when running CPack so the variable must not be evaluated already at configuration time.
- Loading branch information
Showing
7 changed files
with
64 additions
and
24 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
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,20 @@ | ||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Doomsday Engine") | ||
set (CPACK_PACKAGE_VENDOR "Jaakko Keränen (skyjake)") | ||
set (CPACK_PACKAGE_VERSION_MAJOR ${DENG_VERSION_MAJOR}) | ||
set (CPACK_PACKAGE_VERSION_MINOR ${DENG_VERSION_MINOR}) | ||
if (DENG_BUILD AND NOT DENG_STABLE) | ||
set (CPACK_PACKAGE_VERSION_PATCH "${DENG_VERSION_PATCH}-build${DENG_BUILD}") | ||
else () | ||
set (CPACK_PACKAGE_VERSION_PATCH ${DENG_VERSION_PATCH}) | ||
endif () | ||
set (CPACK_PACKAGE_INSTALL_DIRECTORY "Doomsday ${DENG_VERSION_MAJOR}.${DENG_VERSION_MINOR}") | ||
|
||
set (CPACK_GENERATOR ZIP) | ||
|
||
# Source packaging. | ||
set (CPACK_SOURCE_GENERATOR TXZ;ZIP) | ||
set (CPACK_SOURCE_IGNORE_FILES "\\\\.DS_Store$;\\\\.user$;\\\\.user\\\\.") | ||
|
||
if (NOT CPack_CMake_INCLUDED) | ||
include (CPack) | ||
endif () |
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