summaryrefslogtreecommitdiffstats
path: root/test cases/rust/11 generated main/sub/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/rust/11 generated main/sub/meson.build')
-rw-r--r--test cases/rust/11 generated main/sub/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/rust/11 generated main/sub/meson.build b/test cases/rust/11 generated main/sub/meson.build
new file mode 100644
index 0000000..3ce96e5
--- /dev/null
+++ b/test cases/rust/11 generated main/sub/meson.build
@@ -0,0 +1,13 @@
+s = custom_target(
+ 'subdir_target',
+ command : [gen, '@OUTPUT@'],
+ output : ['main.rs'],
+)
+
+l = custom_target(
+ 'lib_target',
+ command : [gen, '@OUTPUT@', '--mode', 'lib'],
+ output : ['lib.rs'],
+)
+
+lib = static_library('static_lib_generated', l)