meson: add warning_level,buildtype
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-02-10 16:08:00 +01:00
parent 4c82b531d8
commit 2d1f10cc59
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -1,5 +1,13 @@
# configure and build with: meson build && ninja -C build
project('fortuna', ['cpp'], version: '0.1.0', license: 'GPL', default_options: ['cpp_std=c++20'])
project('fortuna', ['cpp'],
version: '0.1.0',
license: 'GPL',
default_options: [
'cpp_std=c++20',
'warning_level=3',
'buildtype=plain'
]
)
cc = meson.get_compiler('cpp')