wrmath/CMakePack.txt

18 lines
661 B
Plaintext
Raw Normal View History

2019-08-03 02:03:44 +00:00
# build a CPack driven installer package
include(InstallRequiredSystemLibraries)
set(CPACK_RESOURCE_FILE_LICENSE
2019-08-08 03:51:22 +00:00
"${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
2019-08-03 02:03:44 +00:00
set(CPACK_PACKAGE_VERSION_MAJOR "${${PROJECT_NAME}_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${${PROJECT_NAME}_VERSION_MINOR}")
# Debian settings
2019-08-08 03:51:22 +00:00
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_SECTION devel)
2019-08-03 02:03:44 +00:00
# actually do the thing
2019-08-08 03:51:22 +00:00
set(CPACK_GENERATOR DEB)
include (CPack)