Page MenuHomePhabricator

[CMAKE] Split remove_compiler_flags into C and CXX variants
ClosedPublic

Authored by Fabien on Mar 6 2019, 12:14.

Details

Summary

Keep a remove_compiler_flags macro that does both.

Test Plan
mkdir buildcmake && cd buildcmake
cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
ninja -v

Check the -DNDEBUG does not appear on the compiler command lines.

Diff Detail

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