diff options
Diffstat (limited to 'test cases/common/103 manygen/subdir/meson.build')
-rw-r--r-- | test cases/common/103 manygen/subdir/meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test cases/common/103 manygen/subdir/meson.build b/test cases/common/103 manygen/subdir/meson.build index 4470d1a..5c5d763 100644 --- a/test cases/common/103 manygen/subdir/meson.build +++ b/test cases/common/103 manygen/subdir/meson.build @@ -1,7 +1,13 @@ gen = find_program('manygen.py') +if meson.get_compiler('c').get_id() == 'msvc' + outfiles = ['gen_func.lib', 'gen_func.c', 'gen_func.h', 'gen_func.o'] +else + outfiles = ['gen_func.a', 'gen_func.c', 'gen_func.h', 'gen_func.o'] +endif + generated = custom_target('manygen', - output : ['gen_func.a', 'gen_func.c', 'gen_func.h', 'gen_func.o'], + output : outfiles, input : ['funcinfo.def'], command : [gen, '@INPUT@', '@OUTDIR@'], ) |