[gtk+/wip/meson: 139/215] Build examples
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/meson: 139/215] Build examples
- Date: Tue, 18 Apr 2017 13:44:18 +0000 (UTC)
commit 45ab8b80151351beb4611dfff125c7eea1f0122a
Author: Timm Bäder <mail baedert org>
Date: Sat Sep 24 09:38:10 2016 +0200
Build examples
examples/application1/meson.build | 11 ++++++
examples/application10/meson.build | 23 ++++++++++++++
examples/application2/meson.build | 17 ++++++++++
examples/application3/meson.build | 17 ++++++++++
examples/application4/meson.build | 17 ++++++++++
examples/application5/meson.build | 21 ++++++++++++
examples/application6/meson.build | 23 ++++++++++++++
examples/application7/meson.build | 23 ++++++++++++++
examples/application8/meson.build | 23 ++++++++++++++
examples/application9/meson.build | 23 ++++++++++++++
examples/bp/meson.build | 13 ++++++++
examples/meson.build | 60 ++++++++++++++++++++++++++++++++++++
meson.build | 1 +
13 files changed, 272 insertions(+), 0 deletions(-)
---
diff --git a/examples/application1/meson.build b/examples/application1/meson.build
new file mode 100644
index 0000000..ae5620f
--- /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 0000000..ce842ae
--- /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 0000000..99deae6
--- /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 0000000..f0cec4c
--- /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 0000000..2ae1820
--- /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 0000000..f0fed1c
--- /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 0000000..2d923f3
--- /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 0000000..cc32f36
--- /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 0000000..1192f4d
--- /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 0000000..fccee73
--- /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 0000000..a3f8280
--- /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 0000000..79af2f8
--- /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')
diff --git a/meson.build b/meson.build
index d2c9021..f0f8633 100644
--- a/meson.build
+++ b/meson.build
@@ -220,3 +220,4 @@ subdir('gtk')
subdir('demos')
subdir('tests')
subdir('testsuite')
+subdir('examples')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]