build: improve summary via bool_yn

Shows YES/NO instead of 1/0, improves readability.
This commit is contained in:
Simon Ser 2020-11-15 23:15:49 +01:00
parent 02df7b7ac8
commit 526ae5944c
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 8 additions and 8 deletions

View File

@ -168,14 +168,14 @@ wlroots = declare_dependency(
meson.override_dependency('wlroots', wlroots)
summary({
'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0),
'elogind': conf_data.get('WLR_HAS_ELOGIND', 0),
'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0),
'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0),
'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0),
'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0),
'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0),
})
'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0) == 1,
'elogind': conf_data.get('WLR_HAS_ELOGIND', 0) == 1,
'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0) == 1,
'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0) == 1,
'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0) == 1,
'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0) == 1,
'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0) == 1,
}, bool_yn: true)
if get_option('examples')
subdir('examples')