Allow value 'if-release' for b_ndebug project option. (#1896)
When set, NDEBUG will be automatically defined for for release builds but not for other build types.pull/2796/merge
parent
202b2fedf3
commit
d232a80e90
2 changed files with 10 additions and 4 deletions
@ -0,0 +1,7 @@ |
||||
## b_ndebug : if-release |
||||
|
||||
The value `if-release` can be given for the `b_ndebug` project option. |
||||
|
||||
This will make the `NDEBUG` pre-compiler macro to be defined for release |
||||
type builds as if the `b_ndebug` project option had had the value `true` |
||||
defined for it. |
Loading…
Reference in new issue