aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/5 resources/res/meson.build
blob: 74e0778d2f7be70a95a2cd438a3a0d215e9ce141 (plain)
1
2
3
4
5
6
7
8
9
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')