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
|
@ -201,8 +201,13 @@ summary = [
|
|||
message('\n'.join(summary))
|
||||
|
||||
|
||||
subdir('rootston')
|
||||
subdir('examples')
|
||||
if get_option('enable-rootston')
|
||||
subdir('rootston')
|
||||
endif
|
||||
|
||||
if get_option('enable-examples')
|
||||
subdir('examples')
|
||||
endif
|
||||
|
||||
pkgconfig = import('pkgconfig')
|
||||
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-xwayland', type: 'boolean', value: true, description: 'Enable support X11 applications')
|
||||
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 New Issue