aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/107 subproject symlink/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/107 subproject symlink/meson.build')
-rw-r--r--test cases/unit/107 subproject symlink/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/unit/107 subproject symlink/meson.build b/test cases/unit/107 subproject symlink/meson.build
new file mode 100644
index 0000000..6766c8e
--- /dev/null
+++ b/test cases/unit/107 subproject symlink/meson.build
@@ -0,0 +1,15 @@
+project('foo', 'c')
+
+symlinked_subproject = subproject('symlinked_subproject').get_variable('dep')
+
+executable('foo',
+ sources : 'main.c',
+ dependencies : symlinked_subproject
+)
+
+custom_target(
+ input : symlinked_subproject.get_variable('datadir') / 'datafile',
+ output : 'datafile_copy',
+ command : [find_program('cp.py'), '@INPUT@', '@OUTPUT@'],
+ build_always : true
+)