From d232a80e90a9bd4e7c677c695a9c230ac1ec8361 Mon Sep 17 00:00:00 2001 From: Hemmo Nieminen Date: Sun, 17 Dec 2017 21:06:06 +0200 Subject: 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. --- docs/markdown/snippets/if-release.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/markdown/snippets/if-release.md (limited to 'docs/markdown') 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. -- cgit v1.1