Browse Source

- added cpack definitions

master
Andreas Romeyke 7 months ago
parent
commit
481d6988b1
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      CMakeLists.txt

+ 13
- 0
CMakeLists.txt View File

@@ -15,3 +15,16 @@ add_test(NAME TestTagManifest COMMAND TestTagManifest)
add_test(NAME TestBagMetadata COMMAND TestBagMetadata)
add_test(NAME TestFetchFile COMMAND TestFetchFile)
add_test(NAME TestBag COMMAND TestBag)
# cpack definitions
INCLUDE(InstallRequiredSystemLibraries)
set (CPACK_PACKAGE_VENDOR "Andreas Romeyke")
set (CPACK_VERSION_MAJOR "0")
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/License")
set (CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README")
set (CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.md")
set (CPACK_GENERATOR="TGZ;DEB;RPM")
#set (CPACK_GENERATOR="DEB")
set (CPACK_PACKAGE_CONTACT "Andreas Romeyke libcbag@andreas-romeyke.de")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)

include(CPack)

Loading…
Cancel
Save