diff options
Diffstat (limited to 'meson/test cases/rust/11 generated main/sub/meson.build')
-rw-r--r-- | meson/test cases/rust/11 generated main/sub/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/rust/11 generated main/sub/meson.build b/meson/test cases/rust/11 generated main/sub/meson.build new file mode 100644 index 000000000..3ce96e510 --- /dev/null +++ b/meson/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) |