added xmake benchmark target
All checks were successful
Linux arm64 / Build (push) Successful in 1m52s

This commit is contained in:
2025-05-27 14:52:34 +02:00
parent fc6348cebc
commit 7a96136631
7 changed files with 59 additions and 116 deletions

View File

@@ -11,18 +11,27 @@ target("core")
add_files("src/Pieces/*.cpp")
add_files("src/Core/*.cpp")
target("text")
set_kind("binary")
set_default(false)
add_files("./src/TextUI/*.cpp")
add_deps("core")
target("graph")
set_default(true)
set_kind("binary")
add_files("./src/GraphicalUI/**.cpp")
add_deps("core")
add_packages("sfml")
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")
--
-- If you want to known more usage about xmake, please see https://xmake.io
--