From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/windows/5 resources/res/dummy.c | 0 test cases/windows/5 resources/res/meson.build | 10 ++++++++++ test cases/windows/5 resources/res/myres.rc | 4 ++++ test cases/windows/5 resources/res/sample.ico | Bin 0 -> 9662 bytes 4 files changed, 14 insertions(+) create mode 100644 test cases/windows/5 resources/res/dummy.c create mode 100644 test cases/windows/5 resources/res/meson.build create mode 100644 test cases/windows/5 resources/res/myres.rc create mode 100644 test cases/windows/5 resources/res/sample.ico (limited to 'test cases/windows/5 resources/res') diff --git a/test cases/windows/5 resources/res/dummy.c b/test cases/windows/5 resources/res/dummy.c new file mode 100644 index 0000000..e69de29 diff --git a/test cases/windows/5 resources/res/meson.build b/test cases/windows/5 resources/res/meson.build new file mode 100644 index 0000000..74e0778 --- /dev/null +++ b/test cases/windows/5 resources/res/meson.build @@ -0,0 +1,10 @@ +win = import('windows') + +res = win.compile_resources('myres.rc', + depend_files: 'sample.ico', + include_directories : inc, + args : [['-DFOO'], '-DBAR']) + +# test that with MSVC tools, LIB/LINK invokes CVTRES with correct /MACHINE +static_library('reslib', res, 'dummy.c') +shared_library('shreslib', res, 'dummy.c') diff --git a/test cases/windows/5 resources/res/myres.rc b/test cases/windows/5 resources/res/myres.rc new file mode 100644 index 0000000..802bc7b --- /dev/null +++ b/test cases/windows/5 resources/res/myres.rc @@ -0,0 +1,4 @@ +#include +#include"resource.h" + +ICON_ID ICON "sample.ico" diff --git a/test cases/windows/5 resources/res/sample.ico b/test cases/windows/5 resources/res/sample.ico new file mode 100644 index 0000000..24bd3d9 Binary files /dev/null and b/test cases/windows/5 resources/res/sample.ico differ -- cgit v1.2.3