[cmake-commits] alex committed CMakeLists.txt 1.119 1.119.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Mon May 14 16:28:09 EDT 2007


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv738

Modified Files:
      Tag: CMake-CrossCompileBasic
	CMakeLists.txt 
Log Message:

ENH: move stripping from cpack to cmake/install time, fully configurable via
the CMAKE_STRIP_FILE rule, currently only implemented for the GNU toolchain.
Now cpack should work also for cross compiling (since it doesn't have to
know the executable suffix anymore).

stripping can be enabled/disabled via the cache variable CMAKE_INSTALL_DO_STRIP.

Even if this is disabled, the cmake_install.cmake files still contain the
strip rules, so by running cmake -DCMAKE_INSTALL_DO_STRIP=1
cmake_install.cmake you can install with stripping also in this case.

Alex


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.119
retrieving revision 1.119.2.1
diff -u -d -r1.119 -r1.119.2.1
--- CMakeLists.txt	14 Mar 2007 20:30:59 -0000	1.119
+++ CMakeLists.txt	14 May 2007 20:28:07 -0000	1.119.2.1
@@ -386,8 +386,6 @@
     SET(CPACK_NSIS_CONTACT "cmake at cmake.org")
     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)
 # cygwin specific packaging stuff



More information about the Cmake-commits mailing list