summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-01 14:19:05 +0800
committerOpportunityLiu <[email protected]>2019-07-01 14:19:05 +0800
commitf40152174188626df4b70ca1b9044a721fd3c6e8 (patch)
tree388f5b8e3acdcf1bc9253556fe762dc8b09a5d2a /core/xmake.lua
parent19cbd06f95dddacd1247d1dffab9fa29d719d02b (diff)
utf8 support
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 68f13470f..4a73121ca 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -61,10 +61,11 @@ option_end()
-- suppress warnings
if is_plat("windows") then
add_defines("_CRT_SECURE_NO_WARNINGS")
+ add_cxflags("/utf-8")
end
-- add projects
-includes("src/lcurses", "src/sv","src/luajit", "src/tbox", "src/xmake", "src/demo")
+includes("src/lcurses", "src/sv","src/luajit", "src/tbox", "src/xmake", "src/demo")
if is_plat("windows") then
includes("src/pdcurses")
end