subdir('gsk')
subdir('gtk')
subdir('modules')
-if get_option('demos')
- subdir('demos')
- subdir('examples')
-endif
if get_option('build-tests')
subdir('tests')
subdir('testsuite')
endif
+if get_option('demos')
+ subdir('demos')
+endif
+if get_option('build-examples')
+ subdir('examples')
+endif
# config.h
configure_file(input: 'config.h.meson',
# Demos and binaries
option('demos', type: 'boolean', value: 'true',
- description : 'Build demos and example programs')
+ description : 'Build demo programs')
+option('build-examples', type: 'boolean', value: 'true',
+ description : 'Build examples')
option('build-tests', type: 'boolean', value: 'true',
description : 'Build tests')
option('install-tests', type: 'boolean', value: 'false',