File: meson.build

package info (click to toggle)
gtk4-layer-shell 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 616 kB
  • sloc: ansic: 3,537; xml: 417; python: 333; makefile: 9
file content (30 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
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