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.
16 lines
389 B
16 lines
389 B
3 years ago
|
project('foo', 'c')
|
||
|
|
||
3 years ago
|
symlinked_subproject = subproject('symlinked_subproject').get_variable('dep')
|
||
3 years ago
|
|
||
|
executable('foo',
|
||
|
sources : 'main.c',
|
||
3 years ago
|
dependencies : symlinked_subproject
|
||
|
)
|
||
|
|
||
|
custom_target(
|
||
|
input : symlinked_subproject.get_variable('datadir') / 'datafile',
|
||
|
output : 'datafile_copy',
|
||
|
command : [find_program('cp.py'), '@INPUT@', '@OUTPUT@'],
|
||
|
build_always : true
|
||
3 years ago
|
)
|