summaryrefslogtreecommitdiff
path: root/examples/application3
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-03-12 20:13:10 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 15:10:53 +0100
commit3ac88fa6b65ddb7223cd6f6f66fbf504a9401a50 (patch)
tree9b1e84476fdbb04554081e83b6f8d3e2bfcf4efc /examples/application3
parentd276cd47a5db26718f03b84ca3586a4fc5475f1b (diff)
downloadgtk+-3ac88fa6b65ddb7223cd6f6f66fbf504a9401a50.tar.gz
meson: examples: update
Mostly style changes. Don't create resource source files with spaces in them, that's tempting our luck.
Diffstat (limited to 'examples/application3')
-rw-r--r--examples/application3/meson.build20
1 files changed, 5 insertions, 15 deletions
diff --git a/examples/application3/meson.build b/examples/application3/meson.build
index f0cec4c198..ce90523d46 100644
--- a/examples/application3/meson.build
+++ b/examples/application3/meson.build
@@ -1,17 +1,7 @@
-
-app3_resources = gnome.compile_resources(
- 'exampleapp3 resources',
+app3_resources = gnome.compile_resources('exampleapp3_resources',
'exampleapp.gresource.xml',
- source_dir: '.'
-)
+ source_dir: '.')
-app3 = executable(
- 'exampleapp3',
- 'main.c',
- 'exampleapp.c',
- 'exampleapp.h',
- 'exampleappwin.c',
- 'exampleappwin.h',
- app3_resources,
- dependencies: libgtk_dep
-)
+executable('exampleapp3',
+ 'exampleapp.c', 'exampleappwin.c', 'main.c', app3_resources,
+ dependencies: libgtk_dep)