mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
17518ef89b
We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
35 lines
827 B
Meson
35 lines
827 B
Meson
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')
|