From: Seungha Yang Date: Sat, 24 Nov 2018 10:26:30 +0000 (+0900) Subject: meson: Specify encoding to UTF-8 when building with MSVC X-Git-Tag: 1.19.3~507^2~3807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4de06ea12ca4a1066ff05a72c183139c4dfe2e94;p=platform%2Fupstream%2Fgstreamer.git meson: Specify encoding to UTF-8 when building with MSVC Use build arguments consistent with core and -base. This can also remove noisy "C4819" warning of non-us locale MSVC. --- diff --git a/meson.build b/meson.build index 9fd859d..7346e18 100644 --- a/meson.build +++ b/meson.build @@ -44,6 +44,7 @@ if cc.get_id() == 'msvc' '/wd4146', # unary minus on unsigned (beware INT_MIN) '/wd4244', # lossy type conversion (e.g. double -> int) '/wd4305', # truncating type conversion (e.g. double -> float) + cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 ] add_project_arguments(msvc_args, language : 'c') add_project_arguments(msvc_args, language : 'cpp')