refactor xmake.lua
This commit is contained in:
13
xmake.lua
13
xmake.lua
@@ -21,18 +21,7 @@ target("TowerDefenseData")
|
||||
add_links("ws2_32") -- link network stuff
|
||||
end
|
||||
|
||||
if is_mode("release") then
|
||||
-- mark symbols visibility as hidden
|
||||
set_symbols("hidden")
|
||||
|
||||
-- strip all symbols
|
||||
add_ldflags("-s")
|
||||
|
||||
set_warnings("all", "error")
|
||||
|
||||
set_optimize("fastest")
|
||||
|
||||
else -- debug stuff
|
||||
if is_mode("debug") then
|
||||
if is_os("linux") then
|
||||
add_links("dw")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user