mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
Merge pull request #956 from Flow-It/add-options-to-exclude-rootston-and-examples
Add options to exclude rootston and examples at compilation
This commit is contained in:
commit
a3fd284876
2 changed files with 9 additions and 2 deletions
|
@ -201,8 +201,13 @@ summary = [
|
||||||
message('\n'.join(summary))
|
message('\n'.join(summary))
|
||||||
|
|
||||||
|
|
||||||
subdir('rootston')
|
if get_option('enable-rootston')
|
||||||
subdir('examples')
|
subdir('rootston')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if get_option('enable-examples')
|
||||||
|
subdir('examples')
|
||||||
|
endif
|
||||||
|
|
||||||
pkgconfig = import('pkgconfig')
|
pkgconfig = import('pkgconfig')
|
||||||
pkgconfig.generate(
|
pkgconfig.generate(
|
||||||
|
|
|
@ -4,3 +4,5 @@ option('enable-elogind', type: 'combo', choices: ['auto', 'true', 'false'], valu
|
||||||
option('enable-xcb_errors', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Use xcb-errors util library')
|
option('enable-xcb_errors', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Use xcb-errors util library')
|
||||||
option('enable-xwayland', type: 'boolean', value: true, description: 'Enable support X11 applications')
|
option('enable-xwayland', type: 'boolean', value: true, description: 'Enable support X11 applications')
|
||||||
option('enable-x11_backend', type: 'boolean', value: true, description: 'Enable X11 backend')
|
option('enable-x11_backend', type: 'boolean', value: true, description: 'Enable X11 backend')
|
||||||
|
option('enable-rootston', type: 'boolean', value: true, description: 'Build the rootston example compositor')
|
||||||
|
option('enable-examples', type: 'boolean', value: true, description: 'Build example applications')
|
||||||
|
|
Loading…
Reference in a new issue