Fixed source package generator excluding some useful files (*config.h) and including useless ones (*.so, *.dll ...)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3131 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: d628e879d7d348df926bb24303e77dd749b62dce Former-commit-id: a79555ad715581d82c7ba9f78f87b4c1db7808da
This commit is contained in:
parent
65a483fb5b
commit
0fbe8d896a
1 changed files with 15 additions and 13 deletions
|
@ -44,13 +44,15 @@ SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${PACKAGE_FILE_PREFIX}-${CPACK_PACKAGE_VERSI
|
|||
#SET(CPACK_RESOURCE_FILE_WELCOME "/home/andy/vtk/CMake/Templates/CPack.GenericWelcome.txt")
|
||||
|
||||
SET(CPACK_SOURCE_IGNORE_FILES
|
||||
"installer/" "doc/design/" "doc/develdoc" "doc/website/"
|
||||
"/\\\\.svn/" "\\\\.bak$" "#.*#$" "~$" "\\\\.~.*" "\\\\.xcf$" "\\\\.xcf\\\\.bz2$" "\\\\.psd$"
|
||||
"_CPack_Packages/" "/\\\\.dir/" "/CMakeFiles/"
|
||||
"/installer/" "/doc/design/" "/doc/develdoc" "/doc/website/" "/_CPack_Packages/"
|
||||
"/CMakeCache\\\\.txt$" "/install_manifest\\\\.txt$" "/xmlversion_loc\\\\.txt$"
|
||||
"/config\\\\.h$" "/version\\\\.h$" "/doxygen_config$"
|
||||
"/\\\\.svn/" "/\\\\.dir/" "/CMakeFiles/"
|
||||
"cmake_install\\\\.cmake$" "CPackConfig\\\\.cmake$" "CPackSourceConfig\\\\.cmake$"
|
||||
"CMakeCache\\\\.txt$" "install_manifest\\\\.txt$" "xmlversion_loc\\\\.txt$"
|
||||
"config\\\\.h$" "version\\\\.h$" "doxygen_config$"
|
||||
"\\\\.exe$" "\\\\.zip$" "\\\\.tar\\\\.bz2$" "\\\\.tar\\\\.gz$" "\\\\.tar\\\\.Z$")
|
||||
"\\\\.bak$" "\\\\.flc$" "#.*#$" "~$" "\\\\.~.*"
|
||||
"\\\\.xcf$" "\\\\.xcf\\\\.bz2$" "\\\\.psd$"
|
||||
"\\\\.exe$" "\\\\.zip$" "\\\\.tar\\\\.bz2$" "\\\\.tar\\\\.gz$" "\\\\.tar\\\\.Z$"
|
||||
"\\\\.tar\\\\.7z$")
|
||||
|
||||
##########################################################################################
|
||||
# Put Linux install information here
|
||||
|
@ -65,7 +67,7 @@ IF(UNIX)
|
|||
# Put other Debian-based distros settings here.
|
||||
|
||||
# Source package specific settings.
|
||||
LIST(APPEND CPACK_SOURCE_IGNORE_FILES "Makefile$")
|
||||
LIST(APPEND CPACK_SOURCE_IGNORE_FILES "Makefile$" "\\\\.so$")
|
||||
|
||||
ENDIF(UNIX)
|
||||
|
||||
|
@ -124,7 +126,7 @@ IF(WIN32)
|
|||
"/VTune/"
|
||||
"/Release/" "/Debug/" "/RelWithDebInfo/" "/MinSizeRel/"
|
||||
"/release/" "/debug/" "/relwithdebinfo/" "/minsizerel/"
|
||||
"\\\\.sln$" "\\\\.suo$" "\\\\.ncb$" "\\\\.vcproj*")
|
||||
"\\\\.sln$" "\\\\.suo$" "\\\\.ncb$" "\\\\.vcproj*$" "\\\\.dll$")
|
||||
|
||||
# Add the PACKAGE_SRC project in the MSVC solution
|
||||
# (CMake 2.6 and 2.8 fail to do this itself).
|
||||
|
|
Loading…
Reference in a new issue