Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time.
This commit is contained in:
parent
f17b76e8de
commit
de73d85ad8
|
@ -1,9 +0,0 @@
|
||||||
project('dll_no_module_def', 'c')
|
|
||||||
|
|
||||||
if meson.get_compiler('c').get_id() != 'msvc'
|
|
||||||
error('Need to use the Visual Studio compiler')
|
|
||||||
endif
|
|
||||||
|
|
||||||
subdir('subdir')
|
|
||||||
exe = executable('prog', 'prog.c', link_with : shlib)
|
|
||||||
test('runtest', exe)
|
|
|
@ -1,5 +0,0 @@
|
||||||
int somedllfunc();
|
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
|
||||||
return somedllfunc() == 42 ? 0 : 1;
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
shlib = shared_library('somedll', 'somedll.c')
|
|
|
@ -1,7 +0,0 @@
|
||||||
/* With MSVC, the DLL created from this will not export any symbols
|
|
||||||
* without a module definitions file specified while linking */
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
int somedllfunc() {
|
|
||||||
return 42;
|
|
||||||
}
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue