Page MenuHomePhabricator

[CMAKE] Use native strip on OSX
ClosedPublic

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

Details

Summary

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 \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/OSX.cmake
ninja install/strip

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable