1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
subdir('demo')
executable(
'gtk4-layer-demo',
demo_srcs,
build_by_default: get_option('examples'),
dependencies: [gtk, gtk_layer_shell],
install: get_option('examples'))
executable(
'simple-example-c',
files('simple-example.c'),
build_by_default: get_option('examples'),
dependencies: [gtk, gtk_layer_shell],
install: false)
if get_option('vapi')
add_languages('vala')
executable(
'simple-example-vala',
files('simple-example.vala'),
dependencies: [gtk, gtk_layer_shell, vapi],
c_args: [
'-Wno-unused-but-set-variable',
'-Wno-unused-parameter',
'-Wno-cast-function-type',
'-Wno-deprecated-declarations',
],
install: false)
endif
|