Define Symbol Globally (C++, assert and NDEBUG) #139
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
I am writing C++11 and using assert to test for programmer error. I would like to disable the assertions by defining the symbol NDEBUG as per http://www.cplusplus.com/reference/cassert/assert/
How can I define this symbol for all targets when building an optimized build?
The text was updated successfully, but these errors were encountered: