Module definition files may be useful when building with gcc on Windows also (e.g. if the existing build uses them, if exports are aliased, if we were retro enough to export by ordinal, etc.) Add the .def file to the link command line when using gcc on Windows Run the appropriate windows tests irrespective of compiler.pull/1768/merge
parent
1e14438a38
commit
e99cfdfbc7
7 changed files with 19 additions and 17 deletions
@ -1,7 +1,5 @@ |
||||
project('generated_dll_module_defs', 'c') |
||||
|
||||
if meson.get_compiler('c').get_id() == 'msvc' |
||||
subdir('subdir') |
||||
exe = executable('prog', 'prog.c', link_with : shlib) |
||||
test('runtest', exe) |
||||
endif |
||||
subdir('subdir') |
||||
exe = executable('prog', 'prog.c', link_with : shlib) |
||||
test('runtest', exe) |
||||
|
@ -1,7 +1,5 @@ |
||||
project('dll_module_defs', 'c') |
||||
|
||||
if meson.get_compiler('c').get_id() == 'msvc' |
||||
subdir('subdir') |
||||
exe = executable('prog', 'prog.c', link_with : shlib) |
||||
test('runtest', exe) |
||||
endif |
||||
subdir('subdir') |
||||
exe = executable('prog', 'prog.c', link_with : shlib) |
||||
test('runtest', exe) |
||||
|
Loading…
Reference in new issue