Extend test case to cover issue #3999
Extend test case for issue #3575 for Windows resource files with the same name to cover the case where duplicate outputs exist due to use of pathnames. Also Test using file objects as well as literal filenamespull/4036/head
parent
9b3671e711
commit
2a3cd335fd
11 changed files with 74 additions and 0 deletions
@ -0,0 +1,5 @@ |
||||
dll_res = win.compile_resources('src_dll/version.rc') |
||||
shared_library('lib3', 'src_dll/main.c', dll_res) |
||||
|
||||
exe_res = win.compile_resources('src_exe/version.rc') |
||||
executable('exe3', 'src_exe/main.c', exe_res) |
@ -0,0 +1,6 @@ |
||||
#include <windows.h> |
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) |
||||
{ |
||||
return TRUE; |
||||
} |
@ -0,0 +1,11 @@ |
||||
#include <windows.h> |
||||
|
||||
VS_VERSION_INFO VERSIONINFO |
||||
FILEVERSION 1,0,0,0 |
||||
PRODUCTVERSION 1,0,0,0 |
||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
||||
FILEFLAGS 0 |
||||
FILEOS VOS__WINDOWS32 |
||||
FILETYPE VFT_APP |
||||
BEGIN |
||||
END |
@ -0,0 +1,3 @@ |
||||
int main(int argc, char **argv) { |
||||
return 0; |
||||
} |
@ -0,0 +1,11 @@ |
||||
#include <windows.h> |
||||
|
||||
VS_VERSION_INFO VERSIONINFO |
||||
FILEVERSION 1,0,0,0 |
||||
PRODUCTVERSION 1,0,0,0 |
||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
||||
FILEFLAGS 0 |
||||
FILEOS VOS__WINDOWS32 |
||||
FILETYPE VFT_APP |
||||
BEGIN |
||||
END |
@ -0,0 +1,5 @@ |
||||
dll_res = win.compile_resources(files('src_dll/version.rc')) |
||||
shared_library('lib4', 'src_dll/main.c', dll_res) |
||||
|
||||
exe_res = win.compile_resources(files('src_exe/version.rc')) |
||||
executable('exe4', 'src_exe/main.c', exe_res) |
@ -0,0 +1,6 @@ |
||||
#include <windows.h> |
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) |
||||
{ |
||||
return TRUE; |
||||
} |
@ -0,0 +1,11 @@ |
||||
#include <windows.h> |
||||
|
||||
VS_VERSION_INFO VERSIONINFO |
||||
FILEVERSION 1,0,0,0 |
||||
PRODUCTVERSION 1,0,0,0 |
||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
||||
FILEFLAGS 0 |
||||
FILEOS VOS__WINDOWS32 |
||||
FILETYPE VFT_APP |
||||
BEGIN |
||||
END |
@ -0,0 +1,3 @@ |
||||
int main(int argc, char **argv) { |
||||
return 0; |
||||
} |
@ -0,0 +1,11 @@ |
||||
#include <windows.h> |
||||
|
||||
VS_VERSION_INFO VERSIONINFO |
||||
FILEVERSION 1,0,0,0 |
||||
PRODUCTVERSION 1,0,0,0 |
||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
||||
FILEFLAGS 0 |
||||
FILEOS VOS__WINDOWS32 |
||||
FILETYPE VFT_APP |
||||
BEGIN |
||||
END |
Loading…
Reference in new issue