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?
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?