diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-18 16:43:59 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-18 16:43:59 +0200 |
commit | dec2d75dc6b6f1db30042a5b39a12263ababfb87 (patch) | |
tree | 8d11acf576d1910c4928c0abf4e721b646bcceb2 /CMakeLists.txt | |
parent | 62b7634a79c0c1732272ef58d530ca97dadcc153 (diff) | |
download | libufodecode-dec2d75dc6b6f1db30042a5b39a12263ababfb87.tar.gz libufodecode-dec2d75dc6b6f1db30042a5b39a12263ababfb87.tar.bz2 libufodecode-dec2d75dc6b6f1db30042a5b39a12263ababfb87.tar.xz libufodecode-dec2d75dc6b6f1db30042a5b39a12263ababfb87.zip |
Add INSTALL and README
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 94a80a1..2d67804 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,9 +8,13 @@ set(LIBUFODECODE_ABI_MAJOR_VERSION "0") set(PACKAGE_VERSION "0.2.0") set(PACKAGE_NAME "${TARNAME}") set(PACKAGE_TARNAME "${TARNAME}") -set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") +set(PACKAGE_STRING "${PACKAGE_NAME}-${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "http://ufo.kit.edu/ufo/newticket") +set(CPACK_SOURCE_GENERATOR "TGZ") +set(CPACK_SOURCE_IGNORE_FILES ".git" "tags" ".bzr" ".swp") +set(CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_STRING} CACHE INTERNAL "tarball basename") + if(NOT DEFINED BIN_INSTALL_DIR) set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin") endif(NOT DEFINED BIN_INSTALL_DIR) @@ -36,3 +40,4 @@ add_subdirectory(src) add_subdirectory(doc) add_subdirectory(test) +include(CPack) |