begin packet serialization

This commit is contained in:
2024-07-18 15:28:01 +02:00
parent 2e63a474b8
commit 6e9c747b2d
17 changed files with 842 additions and 0 deletions

View File

@@ -4,13 +4,44 @@ add_repositories("nazara-repo https://github.com/NazaraEngine/xmake-repo.git")
add_requires("nazaraengine", { debug = is_mode("debug") })
set_languages("c++20")
set_warnings("all")
target("BlitzLib")
set_kind("static")
add_files("src/blitz/**.cpp")
add_includedirs("include")
add_packages("nazaraengine")
target("Blitz2")
set_kind("binary")
add_files("src/*.cpp")
add_packages("nazaraengine")
add_includedirs("include")
add_deps("BlitzLib")
set_rundir(".")
-- Tests were introduced in that version
set_xmakever("2.8.5")
-- Tests
for _, file in ipairs(os.files("test/**.cpp")) do
local name = path.basename(file)
target(name)
set_kind("binary")
add_includedirs("include", "test")
add_files(file)
set_default(false)
add_deps("BlitzLib")
add_packages("nazaraengine")
add_tests("compile_and_run")
end
--
-- If you want to known more usage about xmake, please see https://xmake.io
--