diff options
Diffstat (limited to 'test cases/unit/99 custom target name/subdir/meson.build')
-rw-r--r-- | test cases/unit/99 custom target name/subdir/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/99 custom target name/subdir/meson.build b/test cases/unit/99 custom target name/subdir/meson.build new file mode 100644 index 0000000..785a7b3 --- /dev/null +++ b/test cases/unit/99 custom target name/subdir/meson.build @@ -0,0 +1,9 @@ +# Name argument is optional and should default to 'file.txt', but should be +# displayed as 'subdir/file.txt' by ninja. +custom_target( + input: '../file.txt.in', + output: ['@BASENAME@'], + command: [python, '--version'], + build_by_default: true, + capture: true, +) |