2017-03-12 20:13:10 +00:00
|
|
|
examples = [
|
|
|
|
'builder',
|
2016-09-24 07:38:10 +00:00
|
|
|
'drawing',
|
|
|
|
'grid-packing',
|
|
|
|
'plugman',
|
|
|
|
'search-bar',
|
|
|
|
'sunny',
|
|
|
|
'window-default',
|
2017-03-12 20:13:10 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
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),
|
2017-04-26 16:04:20 +00:00
|
|
|
c_args: [
|
|
|
|
'-DGDK_DISABLE_DEPRECATED',
|
|
|
|
'-DGTK_DISABLE_DEPRECATED',
|
|
|
|
'-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir()),
|
2020-03-06 15:36:42 +00:00
|
|
|
] + common_cflags,
|
2017-04-26 16:04:20 +00:00
|
|
|
dependencies: libgtk_dep)
|
2017-03-12 20:13:10 +00:00
|
|
|
endforeach
|
2016-09-24 07:38:10 +00:00
|
|
|
|
|
|
|
subdir('bp')
|
|
|
|
subdir('application1')
|
|
|
|
subdir('application2')
|
|
|
|
subdir('application3')
|
|
|
|
subdir('application4')
|
|
|
|
subdir('application5')
|
|
|
|
subdir('application6')
|
|
|
|
subdir('application7')
|
|
|
|
subdir('application8')
|
|
|
|
subdir('application9')
|