aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/35 project argument after target
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-11-11 13:27:56 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-11-12 17:34:06 -0500
commit85a0cd7635c45bb150b59f55dbd6ecbbe10048f8 (patch)
treea8b50106266044237437a42648bac9c1f5b9ce7c /test cases/failing/35 project argument after target
parent085650a1e3769366ac47f7d8a59386ed6d5a1ef5 (diff)
downloadmeson-85a0cd7635c45bb150b59f55dbd6ecbbe10048f8.zip
meson-85a0cd7635c45bb150b59f55dbd6ecbbe10048f8.tar.gz
meson-85a0cd7635c45bb150b59f55dbd6ecbbe10048f8.tar.bz2
Add new add_project_[link]_args functions
Fixes 979
Diffstat (limited to 'test cases/failing/35 project argument after target')
-rw-r--r--test cases/failing/35 project argument after target/exe.c3
-rw-r--r--test cases/failing/35 project argument after target/meson.build7
2 files changed, 10 insertions, 0 deletions
diff --git a/test cases/failing/35 project argument after target/exe.c b/test cases/failing/35 project argument after target/exe.c
new file mode 100644
index 0000000..11b7fad
--- /dev/null
+++ b/test cases/failing/35 project argument after target/exe.c
@@ -0,0 +1,3 @@
+int main(int argc, char **argv) {
+ return 0;
+}
diff --git a/test cases/failing/35 project argument after target/meson.build b/test cases/failing/35 project argument after target/meson.build
new file mode 100644
index 0000000..5402c67
--- /dev/null
+++ b/test cases/failing/35 project argument after target/meson.build
@@ -0,0 +1,7 @@
+project('project argument after target failing', 'c',
+ version : '2.3.4',
+ license : 'mylicense')
+
+add_project_arguments('-DPROJECT_OPTION', language: 'c')
+e = executable('exe', 'exe.c')
+add_project_arguments('-DPROJECT_OPTION1', language: 'c')