[CMake] CPACK_STRIP_FILES has no effect on DSOs

Eric Noulard eric.noulard at gmail.com
Fri Feb 11 04:57:34 EST 2011


2011/2/11 Moritz Moeller <realritz at virtualritz.com>:
> 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. :)

Which kind of CPack package are you building?
DEB, RPM, TGZ, etc...

Would you be able to craft a simple project reproducing the problem?

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


More information about the CMake mailing list