The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
project('test customtarget') |
|
|
|
ct1 = custom_target( |
|
command: ['generate.py', '@OUTPUT@'], |
|
output: 'a.py', |
|
) |
|
ct2 = custom_target( |
|
command: ['generate.py', '@OUTPUT@'], |
|
output: ['b.py', 'c.py'], |
|
) |
|
|
|
test('using_custom_target', ct1) |
|
test('using_custom_target_index', ct2[0]) |
|
test('using_custom_target_index_1', ct2[1], should_fail: true)
|
|
|