[CMake] CPACK_STRIP_FILES has no effect on DSOs

Moritz Moeller realritz at virtualritz.com
Fri Feb 11 03:56:42 EST 2011


I use CMake 2.8.1 on Linux64. I set this like so:

  set( CPACK_STRIP_FILES TRUE )

in the CMakeLists.txt which has all the settings for the packager (and
which all have the expected effects, otherwise).

My project only builds shared libraries (DSOs, .so extension), no direct
executable files.

None of the DSOs gets stripped. Is this intentional with shared libs?
Any workaround or anything I am missing?

.mm


More information about the CMake mailing list