summaryrefslogtreecommitdiffstats
path: root/test cases/windows/18 msvc charset/meson.build
blob: bb6f667afc74e8937a24640d6134a45b8c817125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
project('charset', 'c')

cc = meson.get_compiler('c')

if cc.get_id() != 'msvc'
  error('MESON_SKIP_TEST requires MSVC.')
endif

executable('utf8', 'utf8.c')

if get_option('test-failure')
  executable('iso-8859-1', 'iso-8859-1.c')
else
  executable('iso-8859-1', 'iso-8859-1.c', c_args: '/source-charset:.850')
endif