Debian Codegraph @

vendored-meson/meson/test cases/unit/64 alias target/meson.build

raw
1 project('alias target', 'c')
2
3 python3 = find_program('python3')
4
5 exe_target = executable('prog', 'main.c',
6 build_by_default : false)
7
8 custom_target = custom_target('custom-target',
9 output : 'hello.txt',
10 command : [python3, '-c', 'print("hello")'],
11 capture : true,
12 build_by_default : false
13 )
14
15 alias_target('build-all', [exe_target, custom_target])
16
17 subdir('subdir')