diff options
Diffstat (limited to 'CPackSourceConfig.cmake.in')
-rw-r--r-- | CPackSourceConfig.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CPackSourceConfig.cmake.in b/CPackSourceConfig.cmake.in new file mode 100644 index 0000000000..46b8eee7dc --- /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") |