summaryrefslogtreecommitdiffstats
path: root/CPackSourceConfig.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-10-31 03:02:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-10-31 03:02:43 (GMT)
commiteb14543939343f66b236f26a5a2c892d6093c635 (patch)
treeea87cf50f22dfea34bcb37536f45c1f711ee68ed /CPackSourceConfig.cmake.in
parent9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893 (diff)
downloadCMake-eb14543939343f66b236f26a5a2c892d6093c635.zip
CMake-eb14543939343f66b236f26a5a2c892d6093c635.tar.gz
CMake-eb14543939343f66b236f26a5a2c892d6093c635.tar.bz2
ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack
Diffstat (limited to 'CPackSourceConfig.cmake.in')
-rw-r--r--CPackSourceConfig.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/CPackSourceConfig.cmake.in b/CPackSourceConfig.cmake.in
new file mode 100644
index 0000000..46b8eee
--- /dev/null
+++ b/CPackSourceConfig.cmake.in
@@ -0,0 +1,8 @@
+# All CPACK_ variables from the cmake project
+@_CPACK_OTHER_VARIABLES_@
+
+if(CPACK_GENERATOR MATCHES "CygwinSource")
+ # when packaging source make sure the .build directory is not included
+ SET(CPACK_SOURCE_IGNORE_FILES
+ "/CVS/" "/\\.build/" "/\\.svn/" "\\.swp$" "\\.#" "/#" "~$")
+endif(CPACK_GENERATOR MATCHES "CygwinSource")