summaryrefslogtreecommitdiff
path: root/core/src/xmake/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-08-15 00:47:54 +0800
committerruki <[email protected]>2018-08-14 22:47:29 +0800
commit7824ce2bf02fe0438a04f074152847a773130d17 (patch)
treea5bf281a1ccdf7870d1c421986a41c62d65dae93 /core/src/xmake/xmake.lua
parent6b471f65f4536d07150b89504bf52753461064a5 (diff)
add winos
Diffstat (limited to 'core/src/xmake/xmake.lua')
-rw-r--r--core/src/xmake/xmake.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/src/xmake/xmake.lua b/core/src/xmake/xmake.lua
index d394b483c..7e1f55e95 100644
--- a/core/src/xmake/xmake.lua
+++ b/core/src/xmake/xmake.lua
@@ -23,7 +23,10 @@ target("xmake")
add_packages("tbox")
-- add the common source files
- add_files("**.c")
+ add_files("**.c|winos/*.c")
+ if is_plat("windows") then
+ add_files("winos/*.c")
+ end
-- add readline
add_options("readline")