blob: 6766c8e4a4020887018225e5376b31d9ff3b2f4e [file] [log] [blame]
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
)