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
Branch
cmake_split_remove_compiler_flag
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5160
Build 8383: Bitcoin ABC Buildbot (legacy)
Build 8382: arc lint + arc unit

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.