meson: print enabled options

This makes it simpler to figure out what was enabled.
This commit is contained in:
Guido Günther 2018-01-24 16:56:08 +00:00
parent 03440bbd83
commit 66ab1a98a0
1 changed files with 16 additions and 0 deletions

View File

@ -153,6 +153,22 @@ wlroots = declare_dependency(
include_directories: wlr_inc,
)
summary = [
'',
'----------------',
'wlroots @0@'.format(meson.project_version()),
'',
' libcap: @0@'.format(get_option('enable_libcap')),
' systemd: @0@'.format(get_option('enable_systemd')),
' elogind: @0@'.format(get_option('enable_elogind')),
' xwayland: @0@'.format(get_option('enable_xwayland')),
'----------------',
''
]
message('\n'.join(summary))
subdir('rootston')
subdir('examples')