meson.build: print a summary of the DDX to build

Makes it easier to detect accidentally "oops, i'm not building Xwayland"

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1869>
This commit is contained in:
Peter Hutterer 2025-03-19 12:14:25 +10:00 committed by Marge Bot
parent 2bca68f41b
commit 4966fbb55a
2 changed files with 17 additions and 2 deletions

View File

@ -1,8 +1,8 @@
if get_option('xephyr') if build_xephyr
subdir('kdrive') subdir('kdrive')
endif endif
if get_option('xvfb') if build_xvfb
subdir('vfb') subdir('vfb')
endif endif

View File

@ -287,6 +287,21 @@ if build_xquartz
build_rootless = true build_rootless = true
endif endif
build_xephyr = get_option('xephyr')
build_xvfb = get_option('xvfb')
summary({
'Xorg': build_xorg,
'Xwayland': build_xwayland,
'Xnest': build_xnest,
'Xvfb': build_xvfb,
'Xwin': build_xwin,
'Xquartz': build_xquartz,
},
section: 'DDX',
bool_yn: true,
)
# IPv6 support # IPv6 support
have_AF_INET6 = cc.compiles(''' have_AF_INET6 = cc.compiles('''
#ifdef WIN32 #ifdef WIN32