diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-22 14:20:46 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-02-22 14:20:46 +0100 |
commit | 893efbe69cd5db78f82c664c3fa7e546496d8a1c (patch) | |
tree | 564b7b6c056874f629a7f5a238ecfd309d02d9dd /CMakeLists.txt | |
parent | 3df9257175a91fed943959665469ae4c16b2586e (diff) | |
download | libuca-893efbe69cd5db78f82c664c3fa7e546496d8a1c.tar.gz libuca-893efbe69cd5db78f82c664c3fa7e546496d8a1c.tar.bz2 libuca-893efbe69cd5db78f82c664c3fa7e546496d8a1c.tar.xz libuca-893efbe69cd5db78f82c664c3fa7e546496d8a1c.zip |
Generate RPM and DEB packages
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 71f385f..0bb5b5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ set(TARNAME "libuca") set(UCA_VERSION_MAJOR "0") set(UCA_VERSION_MINOR "4") set(UCA_VERSION_PATCH "0") +set(UCA_DESCRIPTION "Unified Camera Access") set(UCA_VERSION_STRING "${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}") set(UCA_API_VERSION "0.1.0") @@ -17,6 +18,18 @@ set(PACKAGE_TARNAME "${TARNAME}") set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "http://ufo.kit.edu/ufo/newticket") +set(CPACK_GENERATOR "DEB;RPM;") +set(CPACK_DEBIAN_PACKAGE_NAME "libuca") +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Matthias Vogelgesang <matthias.vogelgesang@kit.edu>") +set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${UCA_DESCRIPTION}) +set(CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY ${UCA_DESCRIPTION}) +set(CPACK_PACKAGE_VERSION_MAJOR ${UCA_VERSION_MAJOR}) +set(CPACK_PACKAGE_VERSION_MINOR ${UCA_VERSION_MINOR}) +set(CPACK_PACKAGE_VERSION_PATCH ${UCA_VERSION_PATCH}) +set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CMAKE_SYSTEM_PROCESSOR}") + +set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") + add_subdirectory(src) add_subdirectory(doc) add_subdirectory(test) |