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:
Jussi Pakkanen 2016-06-05 20:35:45 +03:00
parent f17b76e8de
commit de73d85ad8
4 changed files with 0 additions and 22 deletions

View File

@ -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)

View File

@ -1,5 +0,0 @@
int somedllfunc();
int main(int argc, char **argv) {
return somedllfunc() == 42 ? 0 : 1;
}

View File

@ -1 +0,0 @@
shlib = shared_library('somedll', 'somedll.c')

View File

@ -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