test cases/windows/18 msvc charset/meson.build
raw| 1 | project('charset', 'c') |
| 2 | |
| 3 | cc = meson.get_compiler('c') |
| 4 | |
| 5 | if cc.get_id() != 'msvc' |
| 6 | error('MESON_SKIP_TEST requires MSVC.') |
| 7 | endif |
| 8 | |
| 9 | executable('utf8', 'utf8.c') |
| 10 | |
| 11 | if get_option('test-failure') |
| 12 | executable('iso-8859-1', 'iso-8859-1.c') |
| 13 | else |
| 14 | executable('iso-8859-1', 'iso-8859-1.c', c_args: '/source-charset:.850') |
| 15 | endif |