[CMake] CPack, MinGW, strip

Eric Noulard eric.noulard at gmail.com
Wed Feb 2 07:43:36 EST 2011


2011/2/2 Peter Kümmel <syntheticpp at gmx.net>:
> CMake 2.8.3:
>
> When I install with "mingw32-make install/strip"
> the installed files are stripped.
>
> But when I set CPACK_STRIP_FILES to 1 and
> use NSIS with "mingw32-make package" the binaries
> are not stripped.
>
> CPackConfig.cmake looks correct:
>
> SET(CPACK_BINARY_NSIS "ON")
> ...
> SET(CPACK_CMAKE_GENERATOR "MinGW Makefiles")
> ...
> SET(CPACK_STRIP_FILES "1")
>
>
> Is this a bug, or is there a simple fix.

Should work for any generator.
Could you try with a fresh clean build tree?

Would you try with ZIP or any other CPack generator?

Could you confirm you are on Windows?

Would you be able to give 2.8.4-rc2 a try?
http://www.cmake.org/files/v2.8/?C=M;O=D
(to be sure the problem is there too).




-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list