MantisBT - CMake
View Issue Details
0011060CMakeCPackpublic2010-07-29 06:522016-06-10 14:31
Olaf van der Spek 
Kitware Robot 
normalfeaturealways
closedmoved 
CMake-2-8 
 
0011060: Strip files by default
Could files be stripped by default? I think the majority of use cases does not require the non-stripped files.
No tags attached.
Issue History
2010-07-29 06:52Olaf van der SpekNew Issue
2011-01-17 16:38David ColeNote Added: 0024827
2011-01-18 04:09Olaf van der SpekNote Added: 0024841
2011-01-26 09:38David ColeAssigned To => David Cole
2011-01-26 09:38David ColeStatusnew => assigned
2011-10-26 00:06David ColeAssigned ToDavid Cole =>
2011-10-26 00:06David ColeStatusassigned => backlog
2011-11-01 05:00Alex NeundorfNote Added: 0027690
2011-11-01 09:56Olaf van der SpekNote Added: 0027696
2011-11-11 13:57Alex NeundorfNote Added: 0027782
2012-01-16 12:21Yury G. KudryashovNote Added: 0028322
2016-06-10 14:28Kitware RobotNote Added: 0041735
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
(0024827)
David Cole   
2011-01-17 16:38   
At build, install or packaging time?
(0024841)
Olaf van der Spek   
2011-01-18 04:09   
Packaging time makes the most sense.
(0027690)
Alex Neundorf   
2011-11-01 05:00   
If you do "make install/strip" instead of "make install", the installed binaries will be stripped.
Setting CMAKE_INSTALL_DO_STRIP to TRUE should also strip the binaries in the package.
 Does that work for you ?
(0027696)
Olaf van der Spek   
2011-11-01 09:56   
No. It's a work around, the goal should be to do that out of the box (by default).
(0027782)
Alex Neundorf   
2011-11-11 13:57   
Small correction: the name of the variable is CPACK_STRIP_FILES, if you set this to TRUE in the cpack configuration, then the files will be stripped.
(0028322)
Yury G. Kudryashov   
2012-01-16 12:21   
* This must not be made default for RelWithDebInfo and Debug builds.
* Most Linux distributions prefer to separate debug info after 'make install'.
* IMHO such change would break backwards compatibility.
(0041735)
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.