aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/5 resources/res/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/windows/5 resources/res/meson.build')
-rw-r--r--meson/test cases/windows/5 resources/res/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/windows/5 resources/res/meson.build b/meson/test cases/windows/5 resources/res/meson.build
new file mode 100644
index 000000000..74e0778d2
--- /dev/null
+++ b/meson/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')