diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-10 21:26:57 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-10 21:26:57 (GMT) |
commit | a90e97e9703ce8623ea3be3f1eeebe8d76805053 (patch) | |
tree | 039ae2d522e22282b8d8a63f24e86294594d983d | |
parent | 844d798b493e70176d8a476c983f63c4c7b71fbb (diff) | |
download | CMake-a90e97e9703ce8623ea3be3f1eeebe8d76805053.zip CMake-a90e97e9703ce8623ea3be3f1eeebe8d76805053.tar.gz CMake-a90e97e9703ce8623ea3be3f1eeebe8d76805053.tar.bz2 |
BUG: Prevent stripping of sources
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | Modules/CPack.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 79ce768..d3e02c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -272,6 +272,7 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") SET(CPACK_NSIS_MODIFY_PATH ON) ELSE(WIN32 AND NOT UNIX) SET(CPACK_STRIP_FILES "bin/ccmake;bin/cmake;bin/cpack;bin/ctest") + SET(CPACK_SOURCE_STRIP_FILES "") SET(CPACK_PACKAGE_EXECUTABLES "ccmake" "CMake") ENDIF(WIN32 AND NOT UNIX) INCLUDE(CPack) diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index d5e9b41..316f269 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -121,6 +121,7 @@ SET(CPACK_GENERATOR "${CPACK_SOURCE_GENERATOR}") SET(CPACK_TOPLEVEL_TAG "${CPACK_SOURCE_TOPLEVEL_TAG}") SET(CPACK_PACKAGE_FILE_NAME "${CPACK_SOURCE_PACKAGE_FILE_NAME}") SET(CPACK_IGNORE_FILES "${CPACK_SOURCE_IGNORE_FILES}") +SET(CPACK_STRIP_FILES "${CPACK_SOURCE_STRIP_FILES}") cpack_encode_variables() CONFIGURE_FILE("${cpack_source_input_file}" |