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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 6 2019, 13:22
This revision was automatically updated to reflect the committed changes.