meson: add '-DNDEBUG' on release builds
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-03 17:33:14 +01:00
parent 2d1f10cc59
commit 987bfe673e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -26,6 +26,10 @@ sources = [
'do_task.cpp',
]
if get_option('buildtype').startswith('release')
add_project_arguments('-DNDEBUG', language : ['cpp'])
endif
cc_args = ['-std=c++20']
incdir = include_directories('.')