Merge pull request #956 from Flow-It/add-options-to-exclude-rootston-and-examples

Add options to exclude rootston and examples at compilation
master
Drew DeVault 7 years ago committed by GitHub
commit a3fd284876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -201,8 +201,13 @@ summary = [
message('\n'.join(summary))
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…
Cancel
Save