simon PR review
This commit is contained in:
30
xmake.lua
30
xmake.lua
@@ -13,6 +13,19 @@ target("core")
|
||||
add_files("src/Pieces/*.cpp")
|
||||
add_files("src/Core/*.cpp")
|
||||
|
||||
target("text")
|
||||
set_default(false)
|
||||
set_kind("binary")
|
||||
add_files("./src/TextUI/*.cpp")
|
||||
add_deps("core")
|
||||
|
||||
target("benchmark")
|
||||
set_default(false)
|
||||
set_kind("binary")
|
||||
add_files("./src/TextUI/*.cpp")
|
||||
add_deps("core")
|
||||
add_defines("BENCHMARK")
|
||||
|
||||
target("graph")
|
||||
set_default(true)
|
||||
add_rules("bin2c", {
|
||||
@@ -26,18 +39,13 @@ target("graph")
|
||||
add_deps("core")
|
||||
add_packages("sfml")
|
||||
|
||||
target("text")
|
||||
set_default(false)
|
||||
set_kind("binary")
|
||||
add_files("./src/TextUI/*.cpp")
|
||||
add_deps("core")
|
||||
if is_mode("release") then
|
||||
add_defines("NDEBUG")
|
||||
end
|
||||
|
||||
target("benchmark")
|
||||
set_default(false)
|
||||
set_kind("binary")
|
||||
add_files("./src/TextUI/*.cpp")
|
||||
add_deps("core")
|
||||
add_defines("BENCHMARK")
|
||||
if is_plat("mingw") then
|
||||
add_ldflags("-static-libstdc++")
|
||||
end
|
||||
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user