parent
43129a11ed
commit
063b74ebba
3 changed files with 17 additions and 1 deletions
@ -0,0 +1,9 @@ |
||||
int main() { |
||||
#ifdef NDEBUG |
||||
// NDEBUG is defined
|
||||
return 0; |
||||
#else |
||||
// NDEBUG is not defined
|
||||
return 1; |
||||
#endif |
||||
} |
@ -0,0 +1,7 @@ |
||||
project('msvc_ndebug', 'cpp', |
||||
default_options : [ 'b_ndebug=true' ] |
||||
) |
||||
|
||||
exe = executable('exe', 'main.cpp') |
||||
|
||||
test('ndebug', exe) |
Loading…
Reference in new issue