cmake: fix cpack_source_ignore_files

add defensive $ for filenames, don't include .gitattributes
and *.rpm, correct rules for *.gz and *.zip
This commit is contained in:
Sergei Golubchik 2019-03-17 15:05:56 +01:00
parent 6417297180
commit 39cea72e7b

View File

@ -15,18 +15,19 @@
SET(CPACK_SOURCE_IGNORE_FILES SET(CPACK_SOURCE_IGNORE_FILES
\\\\.git/ \\\\.git/
\\\\.gitignore \\\\.gitignore$
CMakeCache\\\\.txt \\\\.gitattributes$
cmake_dist\\\\.cmake CMakeCache\\\\.txt$
CPackSourceConfig\\\\.cmake cmake_dist\\\\.cmake$
CPackConfig.cmake CPackSourceConfig\\\\.cmake$
/cmake_install\\\\.cmake CPackConfig.cmake$
/CTestTestfile\\\\.cmake /cmake_install\\\\.cmake$
/CTestTestfile\\\\.cmake$
/CMakeFiles/ /CMakeFiles/
/version_resources/ /version_resources/
/_CPack_Packages/ /_CPack_Packages/
$\\\\.gz \\\\.gz$
$\\\\.zip \\\\.zip$
/CMakeFiles/ /CMakeFiles/
/version_resources/ /version_resources/
/_CPack_Packages/ /_CPack_Packages/
@ -50,5 +51,6 @@ include/config\\\\.h$
include/my_config\\\\.h$ include/my_config\\\\.h$
/autom4te\\\\.cache/ /autom4te\\\\.cache/
errmsg\\\\.sys$ errmsg\\\\.sys$
\\\\.rpm$
# #
) )