Fix release build containing debug info

This commit is contained in:
King_DuckZ 2020-05-01 00:49:52 +02:00
parent 32f4a01586
commit 8ba01de416
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
project('wrenpp', 'cpp',
version: '0.1.0',
meson_version: '>=0.49.2',
default_options: ['debug=true', 'cpp_std=c++17', 'b_ndebug=if-release'],
default_options: ['buildtype=release', 'cpp_std=c++17', 'b_ndebug=if-release'],
)
wren_dep = dependency('wren', version: '>=0.2.0',

View file

@ -1,7 +1,7 @@
project('wren', 'c',
version: '0.2.0',
meson_version: '>=0.49.2',
default_options: ['debug=false', 'c_std=c99', 'build_testing=true'],
default_options: ['buildtype=release', 'c_std=c99', 'build_testing=true'],
)
c_compiler = meson.get_compiler('c')