Page MenuHomePhabricator

[CMAKE] Use native strip on OSX

Authored by Fabien on Nov 5 2019, 09:39.



This will allow for running the install/strip target when cross building
for OSX.

Test Plan
mkdir buildcmake && cd buildcmake
mkdir install
cmake -GNinja .. DCMAKE_INSTALL_PREFIX=install \
ninja install/strip

Check the executables are stripped (compare the size vs non stripped).

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Nov 5 2019, 09:39
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 5 2019, 09:39
jasonbcox accepted this revision.Nov 5 2019, 16:37
This revision is now accepted and ready to land.Nov 5 2019, 16:37
This revision was automatically updated to reflect the committed changes.