diff options
| author | ruki <[email protected]> | 2019-08-17 21:28:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-17 21:28:53 +0800 |
| commit | adef5373cbd290f0d679c449d06dcb92dbfe3325 (patch) | |
| tree | 04875f172db651567ebd98beea0756dffc0dc219 /xmake/modules/core/tools/cl.lua | |
| parent | 51dcf34216824a7d5096cad03b5b04964e8ceba8 (diff) | |
enable vs_unicode_output
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 81065f9cf..2d55001e3 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -392,7 +392,10 @@ function _compile1(self, sourcefile, objectfile, dependinfo, flags) if dependinfo then compflags = table.join(flags, "-showIncludes") end - return os.iorunv(_compargv1(self, sourcefile, objectfile, compflags)) + + -- compile and enable vs_unicode_output @see https://github.com/xmake-io/xmake/issues/528 + local program, argv = _compargv1(self, sourcefile, objectfile, compflags) + return os.iorunv(program, argv, {vs_unicode_output = true}) end, catch { |
