summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Caprioli <paul@hpkfft.com>2025-05-14 22:01:11 -0700
committerEli Schwartz <eschwartz93@gmail.com>2025-05-19 17:24:25 -0400
commitc85c5f488782a1365c5fbc5f9c69c4b722ed0a24 (patch)
tree145424c452b9b4ca290b619033c1aa9f8f704029 /docs
parentc4431549478f1678cb014a10eccbcfd438d6bdfc (diff)
downloadmeson-c85c5f488782a1365c5fbc5f9c69c4b722ed0a24.tar.gz
docs: Note that debug=false does not define NDEBUG
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Builtin-options.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md
index faf7a6088..ee07df46a 100644
--- a/docs/markdown/Builtin-options.md
+++ b/docs/markdown/Builtin-options.md
@@ -150,6 +150,10 @@ the two-way mapping:
All other combinations of `debug` and `optimization` set `buildtype` to `'custom'`.
+Note that `-Ddebug=false` does not cause the compiler preprocessor macro
+`NDEBUG` to be defined.
+The macro can be defined using the base option `b_ndebug`, described below.
+
#### Details for `warning_level`
Exact flags per warning level is compiler specific, but there is an approximate