#969 closed defect (fixed)
CMake: Strip release binaries
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build System | Version: | |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
Our CMake build does not strip release binaries resulting in bloated tarballs (especially if we build internal GDAL, whose un-stripped size is over 100MB).
This can be address by:
- Setting
CPACK_STRIP_FILES
toTRUE
to ensure all library targets are stripped before packaging - Manually running
strip
on any external.so
files that are "installed" (eg. Internal gdal/xalan/xerces)
Note:
See TracTickets
for help on using tickets.
In 7827: