forked from external/yambar
meson: define _DEBUG in debug builds
This commit is contained in:
parent
07293111fd
commit
4876020e6d
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.
|
|||
add_project_arguments(
|
||||
['-D_GNU_SOURCE',
|
||||
'-DF00BAR_VERSION=@0@'.format(version)] +
|
||||
(get_option('buildtype').startswith('debug') ? ['-D_DEBUG'] : []) +
|
||||
(backend_x11 ? ['-DENABLE_X11'] : []) +
|
||||
(backend_wayland ? ['-DENABLE_WAYLAND'] : []) +
|
||||
(plugs_as_libs ? ['-DCORE_PLUGINS_AS_SHARED_LIBRARIES'] : []),
|
||||
|
|
Loading…
Add table
Reference in a new issue