From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../exe4/meson.build | 5 +++++ .../exe4/src_dll/main.c | 10 ++++++++++ .../exe4/src_dll/version.rc | 11 +++++++++++ .../exe4/src_exe/main.c | 3 +++ .../exe4/src_exe/version.rc | 11 +++++++++++ 5 files changed, 40 insertions(+) create mode 100644 meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/meson.build create mode 100644 meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/main.c create mode 100644 meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/version.rc create mode 100644 meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/main.c create mode 100644 meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/version.rc (limited to 'meson/test cases/windows/15 resource scripts with duplicate filenames/exe4') diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/meson.build b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/meson.build new file mode 100644 index 000000000..2ae3a7125 --- /dev/null +++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/meson.build @@ -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) diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/main.c b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/main.c new file mode 100644 index 000000000..2bd8cd297 --- /dev/null +++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/main.c @@ -0,0 +1,10 @@ +#include + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + // avoid unused argument error while matching template + ((void)hinstDLL); + ((void)fdwReason); + ((void)lpvReserved); + return TRUE; +} diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/version.rc b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/version.rc new file mode 100644 index 000000000..abdbaaa64 --- /dev/null +++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_dll/version.rc @@ -0,0 +1,11 @@ + #include + +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 diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/main.c b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/main.c new file mode 100644 index 000000000..9b6bdc2ec --- /dev/null +++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/main.c @@ -0,0 +1,3 @@ +int main(void) { + return 0; +} diff --git a/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/version.rc b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/version.rc new file mode 100644 index 000000000..abdbaaa64 --- /dev/null +++ b/meson/test cases/windows/15 resource scripts with duplicate filenames/exe4/src_exe/version.rc @@ -0,0 +1,11 @@ + #include + +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 -- cgit 1.2.3-korg