[Fdo-trac] [fdo-trac] #969: CMake: Strip release binaries

FDO trac_fdo at osgeo.org
Wed Feb 6 02:03:49 PST 2019


#969: CMake: Strip release binaries
----------------------------+----------------------
   Reporter:  jng           |      Owner:  jng
       Type:  defect        |     Status:  assigned
   Priority:  major         |  Milestone:
  Component:  Build System  |    Version:
   Severity:  3             |   Keywords:
External ID:                |
----------------------------+----------------------
 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` to `TRUE` 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)

-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/969>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list