diff options
author | Timm Bäder <mail@baedert.org> | 2016-09-24 09:38:10 +0200 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-03 15:10:52 +0100 |
commit | 8ae847e4fcb10ba9731dc33ab65f9c1544c7379e (patch) | |
tree | 76f5ab878437629d8725cddc36bef282964b9bd7 /examples | |
parent | 8bf141b364bbd59d77582644bb423c2d7683774a (diff) | |
download | gtk+-8ae847e4fcb10ba9731dc33ab65f9c1544c7379e.tar.gz |
Build examples
Diffstat (limited to 'examples')
-rw-r--r-- | examples/application1/meson.build | 11 | ||||
-rw-r--r-- | examples/application10/meson.build | 23 | ||||
-rw-r--r-- | examples/application2/meson.build | 17 | ||||
-rw-r--r-- | examples/application3/meson.build | 17 | ||||
-rw-r--r-- | examples/application4/meson.build | 17 | ||||
-rw-r--r-- | examples/application5/meson.build | 21 | ||||
-rw-r--r-- | examples/application6/meson.build | 23 | ||||
-rw-r--r-- | examples/application7/meson.build | 23 | ||||
-rw-r--r-- | examples/application8/meson.build | 23 | ||||
-rw-r--r-- | examples/application9/meson.build | 23 | ||||
-rw-r--r-- | examples/bp/meson.build | 13 | ||||
-rw-r--r-- | examples/meson.build | 60 |
12 files changed, 271 insertions, 0 deletions
diff --git a/examples/application1/meson.build b/examples/application1/meson.build new file mode 100644 index 0000000000..ae5620f07e --- /dev/null +++ b/examples/application1/meson.build @@ -0,0 +1,11 @@ + + +app1 = executable( + 'exampleapp', + 'main.c', + 'exampleapp.c', + 'exampleapp.h', + 'exampleappwin.c', + 'exampleappwin.h', + dependencies: libgtk_dep +) diff --git a/examples/application10/meson.build b/examples/application10/meson.build new file mode 100644 index 0000000000..ce842ae794 --- /dev/null +++ b/examples/application10/meson.build @@ -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 +) diff --git a/examples/application2/meson.build b/examples/application2/meson.build new file mode 100644 index 0000000000..99deae6e12 --- /dev/null +++ b/examples/application2/meson.build @@ -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 +) diff --git a/examples/application3/meson.build b/examples/application3/meson.build new file mode 100644 index 0000000000..f0cec4c198 --- /dev/null +++ b/examples/application3/meson.build @@ -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 +) diff --git a/examples/application4/meson.build b/examples/application4/meson.build new file mode 100644 index 0000000000..2ae18200b2 --- /dev/null +++ b/examples/application4/meson.build @@ -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 +) diff --git a/examples/application5/meson.build b/examples/application5/meson.build new file mode 100644 index 0000000000..f0fed1ca59 --- /dev/null +++ b/examples/application5/meson.build @@ -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 +) diff --git a/examples/application6/meson.build b/examples/application6/meson.build new file mode 100644 index 0000000000..2d923f35a3 --- /dev/null +++ b/examples/application6/meson.build @@ -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 +) diff --git a/examples/application7/meson.build b/examples/application7/meson.build new file mode 100644 index 0000000000..cc32f36ad0 --- /dev/null +++ b/examples/application7/meson.build @@ -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 +) diff --git a/examples/application8/meson.build b/examples/application8/meson.build new file mode 100644 index 0000000000..1192f4d688 --- /dev/null +++ b/examples/application8/meson.build @@ -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 +) diff --git a/examples/application9/meson.build b/examples/application9/meson.build new file mode 100644 index 0000000000..fccee738cb --- /dev/null +++ b/examples/application9/meson.build @@ -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 +) diff --git a/examples/bp/meson.build b/examples/bp/meson.build new file mode 100644 index 0000000000..a3f82802f5 --- /dev/null +++ b/examples/bp/meson.build @@ -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 +) diff --git a/examples/meson.build b/examples/meson.build new file mode 100644 index 0000000000..79af2f8440 --- /dev/null +++ b/examples/meson.build @@ -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') |