aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/10 vs module defs generated custom target/subdir/meson.build
blob: c4ae33ae4c294cdccb5ecd8286057594101d2f0d (plain)
1
2
3
4
5
6
7
make_def = find_program('make_def.py')

def_file = custom_target('gen_def',
        command: [make_def, '@OUTPUT@'],
        output: 'somedll.def')

shlib = shared_library('somedll', 'somedll.c', vs_module_defs: def_file)