-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePackage.cmake
33 lines (25 loc) · 994 Bytes
/
CMakePackage.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
##
## THESE SETTINGS ARE IGNORED WHEN USING mulle-project.
## SEE mulle-project/formula-info.sh
##
#
# CPack and project specific stuff
#
######
set( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
set( CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
set( CPACK_PACKAGE_CONTACT "Nat! <[email protected]>")
set( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
set( CPACK_PACKAGE_DESCRIPTION_SUMMARY "💄 Build projects with tools like cmake, meson, autoconf")
set( CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set( CPACK_STRIP_FILES false)
# stuff needed for Debian
# memo: its impossible to check for chosen generator here
#
# CPackDeb doesn't produce 100% proper debian file unfortunately
#
set( CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/mulle-sde/${PROJECT_NAME}")
# not strictly required
set( CPACK_DEBIAN_PACKAGE_DEPENDS "mulle-bashfunctions, cmake (>= 3.0.0)")
# stuff needed for RPM
set( CPACK_RPM_PACKAGE_VENDOR "Mulle kybernetiK")