summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-01-31 15:38:43 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-01-31 15:38:43 +0100
commit3d19dae1d6a12d64ec32bf12525f1d04b9069f27 (patch)
treeb385ebb51eb5a3b1cd4e14b6e6c3a2111d7296e2 /src/CMakeLists.txt
parentf3e6870dc9543cd9c0953f2b661bf64d93b2590a (diff)
downloaduca-3d19dae1d6a12d64ec32bf12525f1d04b9069f27.tar.gz
uca-3d19dae1d6a12d64ec32bf12525f1d04b9069f27.tar.bz2
uca-3d19dae1d6a12d64ec32bf12525f1d04b9069f27.tar.xz
uca-3d19dae1d6a12d64ec32bf12525f1d04b9069f27.zip
Generate source tarballs
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cf736a1..0f78ec5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -158,6 +158,9 @@ set(CPACK_PACKAGE_VERSION_PATCH ${UCA_VERSION_PATCH})
set(VERSION ${UCA_VERSION_STRING})
set(CPACK_GENERATOR "DEB;RPM;")
+set(CPACK_SOURCE_GENERATOR "TGZ")
+set(CPACK_SOURCE_IGNORE_FILES "tags" ".bzr" ".swp")
+set(CPACK_SOURCE_PACKAGE_FILE_NAME "libuca-${UCA_VERSION_STRING}" CACHE INTERNAL "tarball basename")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${UCA_VERSION_STRING}-${CMAKE_SYSTEM_PROCESSOR}")
include(CPack)