Make sure NDEBUG is defined in release, plus variable rename
This commit is contained in:
parent
80ef2afbee
commit
d1af39d2a7
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
|||
project('orotool', 'cpp', 'c',
|
||||
version: '0.1.0',
|
||||
meson_version: '>=0.49.2',
|
||||
default_options: ['buildtype=debug', 'cpp_std=gnu++17'],
|
||||
default_options: ['buildtype=debug', 'cpp_std=gnu++17', 'b_ndebug=if-release'],
|
||||
license: 'GPL3+',
|
||||
)
|
||||
|
||||
date_incdir = include_directories('subprojects/date/include')
|
||||
date_inc = include_directories('subprojects/date/include')
|
||||
|
||||
subdir('src')
|
||||
|
|
|
@ -60,6 +60,6 @@ executable(meson.project_name(),
|
|||
project_config_file,
|
||||
install: true,
|
||||
dependencies: lib_deps,
|
||||
include_directories: date_incdir,
|
||||
include_directories: date_inc,
|
||||
cpp_args: ['-DEV_USE_STDEXCEPT'],
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue