summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/tbox.shared/project/xmake.lua
diff options
context:
space:
mode:
authorLiu <[email protected]>2019-12-02 21:32:50 +0800
committerLiu <[email protected]>2019-12-02 21:33:15 +0800
commit30d4183095aa5dcdb9cbe00b1b48e45ca31424fe (patch)
treeb8e47b54d84dab64cc9a65e101fcc947e52ea6cc /xmake/templates/c++/tbox.shared/project/xmake.lua
parent45b739d927c89d93d85f626ab77dee70746c1cd3 (diff)
clear tail white space
Diffstat (limited to 'xmake/templates/c++/tbox.shared/project/xmake.lua')
-rw-r--r--xmake/templates/c++/tbox.shared/project/xmake.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/templates/c++/tbox.shared/project/xmake.lua b/xmake/templates/c++/tbox.shared/project/xmake.lua
index 02a9271a3..f2dec7a83 100644
--- a/xmake/templates/c++/tbox.shared/project/xmake.lua
+++ b/xmake/templates/c++/tbox.shared/project/xmake.lua
@@ -44,13 +44,13 @@ if is_plat("windows") then
if is_mode("release") then
-- link libcmt.lib
- add_cxflags("-MT")
+ add_cxflags("-MT")
-- the debug mode
elseif is_mode("debug") then
-- link libcmtd.lib
- add_cxflags("-MTd")
+ add_cxflags("-MTd")
end
-- no msvcrt.lib
@@ -58,14 +58,14 @@ if is_plat("windows") then
end
-- add syslinks
-if is_plat("windows") then add_syslinks("ws2_32")
-elseif is_plat("android") then add_syslinks("m", "c")
+if is_plat("windows") then add_syslinks("ws2_32")
+elseif is_plat("android") then add_syslinks("m", "c")
else add_syslinks("pthread", "dl", "m", "c") end
-- add requires
add_requires("tbox", {debug = is_mode("debug")})
-- include project sources
-includes("src/${TARGETNAME}", "src/${TARGETNAME}_demo")
+includes("src/${TARGETNAME}", "src/${TARGETNAME}_demo")
${FAQ}