diff options
Diffstat (limited to 'test cases/windows/6 vs module defs/subdir')
-rw-r--r-- | test cases/windows/6 vs module defs/subdir/meson.build | 1 | ||||
-rw-r--r-- | test cases/windows/6 vs module defs/subdir/somedll.c | 3 | ||||
-rw-r--r-- | test cases/windows/6 vs module defs/subdir/somedll.def | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/test cases/windows/6 vs module defs/subdir/meson.build b/test cases/windows/6 vs module defs/subdir/meson.build new file mode 100644 index 0000000..60633c3 --- /dev/null +++ b/test cases/windows/6 vs module defs/subdir/meson.build @@ -0,0 +1 @@ +shlib = shared_library('somedll', 'somedll.c', vs_module_defs : 'somedll.def') diff --git a/test cases/windows/6 vs module defs/subdir/somedll.c b/test cases/windows/6 vs module defs/subdir/somedll.c new file mode 100644 index 0000000..f095b18 --- /dev/null +++ b/test cases/windows/6 vs module defs/subdir/somedll.c @@ -0,0 +1,3 @@ +int somedllfunc(void) { + return 42; +} diff --git a/test cases/windows/6 vs module defs/subdir/somedll.def b/test cases/windows/6 vs module defs/subdir/somedll.def new file mode 100644 index 0000000..60fd1a1 --- /dev/null +++ b/test cases/windows/6 vs module defs/subdir/somedll.def @@ -0,0 +1,2 @@ +EXPORTS + somedllfunc |