diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-05-07 14:52:09 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-05-10 10:58:54 +0300 |
commit | efec5d21ee16d47cc4058a935ac37091293f7933 (patch) | |
tree | 5c2ad1d0eabf2d498042816728d4297755c05f11 | |
parent | 9c6bda2c852b70fae2fa8e058198c974d2d1bdda (diff) |
meson: Change the default build type to debugoptimized
Similar as we had with autotools, enables some more compile checks.
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
-rw-r--r-- | meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build index c29b4c98..503180ed 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,8 @@ project('igt-gpu-tools', 'c', default_options: [ 'warning_level=2', 'c_std=gnu11', - 'b_ndebug=false', + 'b_ndebug=false', + 'buildtype=debugoptimized', ], license : 'MIT', meson_version : '>=0.46.0') @@ -113,7 +114,7 @@ _tests_required = build_tests == 'true' _build_runner = build_runner != 'false' _runner_required = build_runner == 'true' -build_info = [] +build_info = ['Build type: ' + get_option('buildtype')] inc = include_directories('include/drm-uapi', 'lib', 'lib/stubs/syscalls', '.') |