[CMake] CPACK_STRIP_FILES has no effect on DSOs

Moritz Moeller realritz at virtualritz.com
Fri Feb 11 04:30:39 EST 2011


On 02/11/2011 09:56 AM, Moritz Moeller wrote:
> None of the DSOs gets stripped. Is this intentional with shared libs?
> Any workaround or anything I am missing?

So I worked around this myself by setting

  set( CMAKE_MODULE_LINKER_FLAGS -s )

And I am aware I can manually do a

  make install/strip

I'd still like to know why the CPack flag doesn't work as advertised. :)

.mm


More information about the CMake mailing list