diff options
| author | Gerion Entrup <gerion.entrup@flump.de> | 2024-03-11 11:21:56 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-05 09:36:59 -0700 |
| commit | 06bc8a8d37620506ec5d176577fdc9f6ae5f011b (patch) | |
| tree | 35a4c860c6b33e2948a66fb0392f000d96301cc3 /test cases | |
| parent | 30c38e2bd69b2bab74b6e76da1c626f3c9853613 (diff) | |
| download | meson-06bc8a8d37620506ec5d176577fdc9f6ae5f011b.tar.gz | |
depends keyword argument: accept CustomTargetIndex
That holds for all of these meson function: run_target, generator and
custom_target and additionally to the Windows and Gnome module.
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/common/51 run target/meson.build | 5 | ||||
| -rw-r--r-- | test cases/common/71 ctarget dependency/meson.build | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/51 run target/meson.build b/test cases/common/51 run target/meson.build index dbb673220..3b5c16b3a 100644 --- a/test cases/common/51 run target/meson.build +++ b/test cases/common/51 run target/meson.build @@ -33,6 +33,11 @@ run_target('upload2', depends : hex, ) +run_target('upload3', + command : [fakeburner, 'x:@0@:y'.format(hex.full_path())], + depends : hex[0], +) + python3 = find_program('python3', required : false) if not python3.found() python3 = find_program('python') diff --git a/test cases/common/71 ctarget dependency/meson.build b/test cases/common/71 ctarget dependency/meson.build index 40f7398fb..d3e73cec7 100644 --- a/test cases/common/71 ctarget dependency/meson.build +++ b/test cases/common/71 ctarget dependency/meson.build @@ -18,3 +18,8 @@ custom_target('output', output : 'output.dat', command : [g2, '@OUTDIR@', '@OUTPUT@'], depends : c1) + +custom_target('output2', +output : 'output2.dat', +command : [g2, '@OUTDIR@', '@OUTPUT@'], +depends : c1[0]) |
