diff options
author | Hemmo Nieminen <hemmo.nieminen@iki.fi> | 2017-12-17 21:06:06 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-12-17 21:06:06 +0200 |
commit | d232a80e90a9bd4e7c677c695a9c230ac1ec8361 (patch) | |
tree | f0ea383bc6cce320e7e68d3d1817bae1e5ca03d1 /docs/markdown/snippets | |
parent | 202b2fedf300f62b8c1c3b52cd5320845038d85e (diff) | |
download | meson-d232a80e90a9bd4e7c677c695a9c230ac1ec8361.zip meson-d232a80e90a9bd4e7c677c695a9c230ac1ec8361.tar.gz meson-d232a80e90a9bd4e7c677c695a9c230ac1ec8361.tar.bz2 |
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.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/if-release.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/snippets/if-release.md b/docs/markdown/snippets/if-release.md new file mode 100644 index 0000000..96e12ef --- /dev/null +++ b/docs/markdown/snippets/if-release.md @@ -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. |