MantisBT - CMake
View Issue Details
0011367CMakeCPackpublic2010-10-26 17:112016-06-10 14:31
Clinton Stimpson 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
0011367: setting CPACK_STRIP_FILES on Mac breaks binaries
If one sets CPACK_STRIP_FILES=1 and lets cpack strip binaries, it strips too much and prevents executables with dynamic libraries from working.
Docs for strip(1) say adding "-u -r" to strip fewer symbols is the maximum allowed for an exectuable that uses shared libraries.

Can cmake take care of this kind of detail for me, instead of me doing a
SET(CMAKE_STRIP "/usr/bin/strip -u -r -S" CACHE FILEPATH "" FORCE)
No tags attached.
Issue History
2010-10-26 17:11Clinton StimpsonNew Issue
2011-01-26 09:36David ColeAssigned To => David Cole
2011-01-26 09:36David ColeStatusnew => assigned
2011-10-25 22:57David ColeAssigned ToDavid Cole =>
2011-10-25 22:57David ColeStatusassigned => backlog
2016-06-10 14:28Kitware RobotNote Added: 0041757
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0041757)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.