19 lines
710 B
Plaintext
19 lines
710 B
Plaintext
# build a CPack driven installer package
|
|
include(InstallRequiredSystemLibraries)
|
|
set(CPACK_RESOURCE_FILE_LICENSE
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
|
|
set(CPACK_PACKAGE_VERSION_MAJOR "${${PROJECT_NAME}_VERSION_MAJOR}")
|
|
set(CPACK_PACKAGE_VERSION_MINOR "${${PROJECT_NAME}_VERSION_MINOR}")
|
|
|
|
# Debian settings
|
|
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "K. Isom")
|
|
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The Shimmering Clarity C++ library")
|
|
set(CPACK_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION})
|
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc++1 (>= 3.7.0-1)")
|
|
# set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
|
|
set(CPACK_DEBIAN_PACKAGE_SECTION devel)
|
|
|
|
# actually do the thing
|
|
set(CPACK_GENERATOR DEB)
|
|
include (CPack)
|