aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-09-25 18:42:57 +0300
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2016-09-28 18:21:42 -0400
commitd61b71fdc2fdd0b3c6cb60f9ab55c5b511a95fd9 (patch)
tree330081bd1009d659083ab0e27e7c70fa38e73967 /test cases/frameworks
parent1033728c8573c1dee5b06237e2dc0a99d2a3500d (diff)
downloadmeson-d61b71fdc2fdd0b3c6cb60f9ab55c5b511a95fd9.zip
meson-d61b71fdc2fdd0b3c6cb60f9ab55c5b511a95fd9.tar.gz
meson-d61b71fdc2fdd0b3c6cb60f9ab55c5b511a95fd9.tar.bz2
Converted mkenums to be single invocation.
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/7 gnome/mkenums/meson.build17
1 files changed, 8 insertions, 9 deletions
diff --git a/test cases/frameworks/7 gnome/mkenums/meson.build b/test cases/frameworks/7 gnome/mkenums/meson.build
index db2e717..dbb8793 100644
--- a/test cases/frameworks/7 gnome/mkenums/meson.build
+++ b/test cases/frameworks/7 gnome/mkenums/meson.build
@@ -1,13 +1,12 @@
-enums_h = gnome.mkenums('enums.h',
-sources : 'meson-sample.h',
-template : 'enums.h.in',
-install : true,
-install_dir : get_option('includedir'))
+myenums = gnome.mkenums('abc',
+ sources : 'meson-sample.h',
+ h_template : 'enums.h.in',
+ c_template : 'enums.c.in',
+ install_header : true,
+ install_dir : get_option('includedir'))
-enums_c = gnome.mkenums('enums.c',
-sources : 'meson-sample.h',
-template : 'enums.c.in',
-depends : enums_h)
+enums_c = myenums[0]
+enums_h = myenums[1]
enumexe = executable('enumprog', 'main.c', enums_c, enums_h,
dependencies : gobj)