mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
Build examples
This commit is contained in:
parent
8bf141b364
commit
8ae847e4fc
11
examples/application1/meson.build
Normal file
11
examples/application1/meson.build
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
|
||||
app1 = executable(
|
||||
'exampleapp',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
dependencies: libgtk_dep
|
||||
)
|
23
examples/application10/meson.build
Normal file
23
examples/application10/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
app10_resources = gnome.compile_resources(
|
||||
'exampleapp10 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app10_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app10 = executable(
|
||||
'exampleapp10',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
'exampleappprefs.c',
|
||||
'exampleappprefs.h',
|
||||
app10_resources,
|
||||
app10_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
17
examples/application2/meson.build
Normal file
17
examples/application2/meson.build
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
app2_resources = gnome.compile_resources(
|
||||
'exampleapp2 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app2 = executable(
|
||||
'exampleapp2',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
app2_resources,
|
||||
dependencies: libgtk_dep
|
||||
)
|
17
examples/application3/meson.build
Normal file
17
examples/application3/meson.build
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
app3_resources = gnome.compile_resources(
|
||||
'exampleapp3 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app3 = executable(
|
||||
'exampleapp3',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
app3_resources,
|
||||
dependencies: libgtk_dep
|
||||
)
|
17
examples/application4/meson.build
Normal file
17
examples/application4/meson.build
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
app4_resources = gnome.compile_resources(
|
||||
'exampleapp4 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app4 = executable(
|
||||
'exampleapp4',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
app4_resources,
|
||||
dependencies: libgtk_dep
|
||||
)
|
21
examples/application5/meson.build
Normal file
21
examples/application5/meson.build
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
app5_resources = gnome.compile_resources(
|
||||
'exampleapp5 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app5_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app5 = executable(
|
||||
'exampleapp5',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
app5_resources,
|
||||
app5_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
23
examples/application6/meson.build
Normal file
23
examples/application6/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
app6_resources = gnome.compile_resources(
|
||||
'exampleapp6 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app6_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app6 = executable(
|
||||
'exampleapp6',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
'exampleappprefs.c',
|
||||
'exampleappprefs.h',
|
||||
app6_resources,
|
||||
app6_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
23
examples/application7/meson.build
Normal file
23
examples/application7/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
app7_resources = gnome.compile_resources(
|
||||
'exampleapp7 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app7_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app7 = executable(
|
||||
'exampleapp7',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
'exampleappprefs.c',
|
||||
'exampleappprefs.h',
|
||||
app7_resources,
|
||||
app7_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
23
examples/application8/meson.build
Normal file
23
examples/application8/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
app8_resources = gnome.compile_resources(
|
||||
'exampleapp8 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app8_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app8 = executable(
|
||||
'exampleapp8',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
'exampleappprefs.c',
|
||||
'exampleappprefs.h',
|
||||
app8_resources,
|
||||
app8_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
23
examples/application9/meson.build
Normal file
23
examples/application9/meson.build
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
app9_resources = gnome.compile_resources(
|
||||
'exampleapp9 resources',
|
||||
'exampleapp.gresource.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
app9_schemas = gnome.compile_schemas()
|
||||
|
||||
|
||||
app9 = executable(
|
||||
'exampleapp9',
|
||||
'main.c',
|
||||
'exampleapp.c',
|
||||
'exampleapp.h',
|
||||
'exampleappwin.c',
|
||||
'exampleappwin.h',
|
||||
'exampleappprefs.c',
|
||||
'exampleappprefs.h',
|
||||
app9_resources,
|
||||
app9_schemas,
|
||||
dependencies: libgtk_dep
|
||||
)
|
13
examples/bp/meson.build
Normal file
13
examples/bp/meson.build
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
bp_resources = gnome.compile_resources(
|
||||
'bloatpad resources',
|
||||
'bloatpad.gresources.xml',
|
||||
source_dir: '.'
|
||||
)
|
||||
|
||||
bloatpad = executable(
|
||||
'bloatpad',
|
||||
'bloatpad.c',
|
||||
bp_resources,
|
||||
dependencies: libgtk_dep
|
||||
)
|
60
examples/meson.build
Normal file
60
examples/meson.build
Normal file
@ -0,0 +1,60 @@
|
||||
builder_example = executable(
|
||||
'builder_example',
|
||||
'builder.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
drawing = executable(
|
||||
'drawing',
|
||||
'drawing.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
grid_packing = executable(
|
||||
'grid-packing',
|
||||
'grid-packing.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
hello_world = executable(
|
||||
'hello-world',
|
||||
'hello-world.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
plugman = executable(
|
||||
'plugman',
|
||||
'plugman.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
search_bar = executable(
|
||||
'search-bar',
|
||||
'search-bar.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
sunny = executable(
|
||||
'sunny',
|
||||
'sunny.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
window_default = executable(
|
||||
'window-default',
|
||||
'window-default.c',
|
||||
dependencies: libgtk_dep
|
||||
)
|
||||
|
||||
|
||||
subdir('bp')
|
||||
subdir('application1')
|
||||
subdir('application2')
|
||||
subdir('application3')
|
||||
subdir('application4')
|
||||
subdir('application5')
|
||||
subdir('application6')
|
||||
subdir('application7')
|
||||
subdir('application8')
|
||||
subdir('application9')
|
||||
subdir('application10')
|
@ -220,3 +220,4 @@ subdir('gtk')
|
||||
subdir('demos')
|
||||
subdir('tests')
|
||||
subdir('testsuite')
|
||||
subdir('examples')
|
||||
|
Loading…
Reference in New Issue
Block a user