-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Labels
Description
#1896 adds a new option for b_ndebug
that would automatically define it for release builds. There's also some discussion if this should just be the default, but the PR doesn't touch that, so I thought that discussion could be continued in its own issue.
Summary:
- It's also what CMake does
NDEBUG
is a C/C++ standard- Would make Allow value 'if-release' for b_ndebug project option. #1896 obsolete (or build upon it)
- Some distros don't like it enabled by default; why?
Chocobo1, mensinda, Hi-Angel, jhasse, eyelash and 8 more