subdir('gsk')
subdir('gtk')
subdir('modules')
-if get_option('demos')
+if get_option('build-demos')
subdir('demos')
endif
subdir('tools')
gnome.post_install(
glib_compile_schemas: true,
gio_querymodules: gio_module_dirs,
- gtk_update_icon_cache: get_option('demos'),
+ gtk_update_icon_cache: get_option('build-demos'),
)
else
message('Not executing post-install steps automatically when cross compiling')
summary('Man pages', get_option('man-pages'), section: 'Build')
summary('Testsuite', get_option('build-testsuite'), section: 'Build')
summary('Tests', get_option('build-tests'), section: 'Build')
-summary('Demos', get_option('demos'), section: 'Build')
+summary('Demos', get_option('build-demos'), section: 'Build')
summary('Examples', get_option('build-examples'), section: 'Build')
# Directories
# Demos, examples and tests
-option('demos',
- type: 'boolean',
- value: true,
- description : 'Build demo programs')
-
option('profile',
type: 'combo',
choices: [ 'default', 'devel' ],
value: 'default',
description : 'Profile to use for demos')
+option('build-demos',
+ type: 'boolean',
+ value: true,
+ description : 'Build demo programs')
+
+option('demos',
+ type: 'boolean',
+ value: true,
+ deprecated: 'build-demos')
+
option('build-testsuite',
type: 'boolean',
value: true,