MantisBT - CMake
View Issue Details
0013045CMakeCMakepublic2012-03-17 00:092012-04-21 01:48
Michael Champigny 
Eric NOULARD 
lowminoralways
closedwon't fix 
LinuxLinux Ubuntu11.10
CMake 2.8.7 
 
0013045: Archive library is not stripped with CPACK_STRIP_FILES set to ON.
SET (CPACK_STRIP_FILES ON) should strip archive as well as shared libraries. It is not working for archive libraries. The workaround is to manually strip the files after installing the package with CPack.
No tags attached.
Issue History
2012-03-17 00:09Michael ChampignyNew Issue
2012-04-20 15:02Eric NOULARDNote Added: 0029279
2012-04-20 15:02Eric NOULARDAssigned To => Eric NOULARD
2012-04-20 15:02Eric NOULARDStatusnew => feedback
2012-04-20 22:37Michael ChampignyNote Added: 0029290
2012-04-20 22:37Michael ChampignyStatusfeedback => assigned
2012-04-21 01:48Eric NOULARDStatusassigned => closed
2012-04-21 01:48Eric NOULARDResolutionopen => won't fix

Notes
(0029279)
Eric NOULARD   
2012-04-20 15:02   
make install/strip does not do this either, (and SET (CPACK_STRIP_FILES ON)
is just handling this by calling "install/strip" instead of "install".

This is not done because it does not seem to be a reasonable request,
see: http://www.cmake.org/pipermail/cmake/2012-March/049739.html [^]

can you give a useful example where stripping archive is needed?
(0029290)
Michael Champigny   
2012-04-20 22:37   
Sorry, please close this issue. Had I actually tried to link with the stripped library I would have found the symbols are missing. Duh!