forked from SimonKagstrom/kcov
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Improve CPack settings. Fixes .deb package creation.
Also make some cosmetic improvements.
- Loading branch information
1 parent
073a67e
commit 515476d
Showing
2 changed files
with
16 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# ==================================== | ||
# cpack settings | ||
# ==================================== | ||
set (CPACK_PACKAGE_VERSION_MAJOR ${PACKAGE_VERSION_MAJOR}) | ||
set (CPACK_PACKAGE_VERSION_MINOR ${PACKAGE_VERSION_MINOR}) | ||
set (CPACK_PACKAGE_VERSION_PATCH ${PACKAGE_VERSION_PATCH}) | ||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Kcov is a code coverage tester based on Bcov") | ||
set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") | ||
set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/README") | ||
set (CPACK_PACKAGE_VENDOR "Simon Kagstrom <[email protected]>") | ||
set (CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) | ||
set (CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) | ||
set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) | ||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Code coverage tester based on Bcov") | ||
set (CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README") | ||
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/COPYING") | ||
set (CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README") | ||
set (CPACK_PACKAGE_VENDOR "Simon Kagstrom") | ||
set (CPACK_PACKAGE_CONTACT "Simon Kagstrom <[email protected]>") | ||
set (CPACK_STRIP_FILES TRUE) | ||
set (CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}") | ||
set (CPACK_SOURCE_IGNORE_FILES | ||
/Debug/ /Release/ /build/ | ||
/.git/ /.gitignore | ||
|