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.
15 lines
389 B
15 lines
389 B
project('foo', 'c') |
|
|
|
symlinked_subproject = subproject('symlinked_subproject').get_variable('dep') |
|
|
|
executable('foo', |
|
sources : 'main.c', |
|
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 |
|
)
|
|
|