diff options
| author | Paul Caprioli <paul@hpkfft.com> | 2025-05-14 22:01:11 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-05-19 17:24:25 -0400 |
| commit | c85c5f488782a1365c5fbc5f9c69c4b722ed0a24 (patch) | |
| tree | 145424c452b9b4ca290b619033c1aa9f8f704029 /docs | |
| parent | c4431549478f1678cb014a10eccbcfd438d6bdfc (diff) | |
| download | meson-c85c5f488782a1365c5fbc5f9c69c4b722ed0a24.tar.gz | |
docs: Note that debug=false does not define NDEBUG
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Builtin-options.md | 4 |
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 |
