summaryrefslogtreecommitdiff
path: root/examples/meson.build
blob: b5c28634eab37ba839f4355fdd7f7265d7644add (plain)
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
31
32
33
34
examples = [
  'builder',
  'drawing',
  'grid-packing',
  'hello-world',
  'plugman',
  'search-bar',
  'sunny',
  'window-default',
]

foreach ex : examples
  # TODO: name clash with testsuite/gtk/builder, rename one of the two
  example_name = ex == 'builder' ? 'builder_example' : ex
  executable(example_name, '@0@.c'.format(ex),
             c_args: [
               '-DGDK_DISABLE_DEPRECATED',
               '-DGTK_DISABLE_DEPRECATED',
               '-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir()),
             ],
             dependencies: libgtk_dep)
endforeach

subdir('bp')
subdir('application1')
subdir('application2')
subdir('application3')
subdir('application4')
subdir('application5')
subdir('application6')
subdir('application7')
subdir('application8')
subdir('application9')
subdir('application10')