refactor xmake.lua

This commit is contained in:
2023-09-03 11:02:22 +02:00
parent 4bd32e8d0b
commit 3d8fd2e519

View File

@@ -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