-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CPack configuration for debian packages
Allows to automatically generate .deb based on current generated `install` target. Some of package settings are taken from exiting CMake variables, some from host system.
- Loading branch information
Dicebot
committed
Feb 12, 2014
1 parent
704ab30
commit f2b1641
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Common CPack configuration | ||
# | ||
set(CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME}) | ||
set(CPACK_PACKAGE_VERSION ${LDC_VERSION}) | ||
set(CPACK_PACKAGE_CONTACT "public@dicebot.lv") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "LDC: LLVM D Compiler") | ||
|
||
# | ||
# Debian specifics | ||
# | ||
execute_process(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE) | ||
set(CPACK_DEBIAN_PACKAGE_SECTION "devel") |
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