summaryrefslogtreecommitdiffstats
path: root/test cases/common/21 target arg/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/21 target arg/meson.build')
-rw-r--r--test cases/common/21 target arg/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/common/21 target arg/meson.build b/test cases/common/21 target arg/meson.build
new file mode 100644
index 0000000..11ac006
--- /dev/null
+++ b/test cases/common/21 target arg/meson.build
@@ -0,0 +1,9 @@
+project('local arg test', 'cpp', 'c')
+
+exe1 = executable('prog', 'prog.cc', 'func.c', \
+c_args : '-DCTHING', \
+cpp_args : '-DCPPTHING')
+exe2 = executable('prog2', 'prog2.cc', 'func2.c')
+
+test('prog1', exe1)
+test('prog2', exe2)