[cmake-developers] [CMake 0011367]: setting CPACK_STRIP_FILES on Mac breaks binaries
Mantis Bug Tracker
mantis at public.kitware.com
Tue Oct 26 17:11:17 EDT 2010
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11367
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 11367
Category: CPack
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2010-10-26 17:11 EDT
Last Modified: 2010-10-26 17:11 EDT
======================================================================
Summary: setting CPACK_STRIP_FILES on Mac breaks binaries
Description:
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)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-10-26 17:11 Clinton StimpsonNew Issue
======================================================================
More information about the cmake-developers
mailing list