All checks were successful
Linux arm64 / Build (push) Successful in 4m20s
commit2b0930a734Author: Morph01 <thibaut6969delastreet@gmail.com> Date: Tue Mar 19 10:43:55 2024 +0100 hud of blitz (#16) Résoudre partiellement #12 Co-authored-by: Persson-dev <sim16.prib@gmail.com> Co-authored-by: Morph01 <145839520+Morph01@users.noreply.github.com> Co-authored-by: Simon Pribylski <sim16.prib@gmail.com> Reviewed-on: #16 commit84b6acad4cAuthor: Persson-dev <sim16.prib@gmail.com> Date: Tue Mar 19 10:15:54 2024 +0100 less spooky light commit9f94d51fc4Author: Persson-dev <sim16.prib@gmail.com> Date: Thu Mar 14 16:36:15 2024 +0100 Ajout de tests d'intégration (#17) Le paquet fournissant OpenGL a été temporairement remplacé par glew Reviewed-on: #17 Co-authored-by: Persson-dev <sim16.prib@gmail.com> Co-committed-by: Persson-dev <sim16.prib@gmail.com> commit9951256881Author: Simon Pribylski <sim16.prib@gmail.com> Date: Wed Mar 13 20:19:37 2024 +0100 action: install libsdl via apt commit4a02054648Author: Morph01 <145839520+Morph01@users.noreply.github.com> Date: Wed Mar 13 13:53:20 2024 +0100 compression tests commit19c39312bfAuthor: Morph01 <145839520+Morph01@users.noreply.github.com> Date: Wed Mar 13 13:51:57 2024 +0100 setup action commitd5014b1e8aAuthor: Persson-dev <sim16.prib@gmail.com> Date: Tue Mar 12 10:26:47 2024 +0100 Revert "extend Vec3" This reverts commitdccfa9c936. commitdccfa9c936Author: = <=> Date: Tue Mar 12 10:01:00 2024 +0100 extend Vec3
42 lines
1.0 KiB
Lua
42 lines
1.0 KiB
Lua
includes("Blitz.lua")
|
|
|
|
add_requires("libsdl 2.28.3", {configs = {sdlmain = false}})
|
|
add_requires("glew", "assimp", "nlohmann_json")
|
|
|
|
-- Client binary (default)
|
|
target("BlitzClient")
|
|
if is_plat("android") then
|
|
set_kind("shared")
|
|
else
|
|
set_kind("binary")
|
|
end
|
|
|
|
set_default(true)
|
|
|
|
add_includedirs("../include")
|
|
add_files("../src/client/**.cpp", "../src/ClientMain.cpp")
|
|
|
|
-- Libraries
|
|
add_deps("Blitz")
|
|
add_packages("libsdl", "glew", "assimp", "nlohmann_json")
|
|
|
|
add_includedirs("../libs", "../libs/imgui")
|
|
add_files("../libs/imgui/**.cpp")
|
|
|
|
if is_plat("macosx") then
|
|
add_frameworks("OpenGL")
|
|
elseif is_plat("windows") then
|
|
add_ldflags("/LTCG") -- fix compiltation of glbinding
|
|
end
|
|
|
|
-- Assets
|
|
set_rundir("../assets")
|
|
|
|
-- Valgrind test
|
|
if is_mode("valgrind") then
|
|
on_run(function (target)
|
|
os.cd("../assets")
|
|
os.execv("valgrind", {"-s", "--leak-check=full", target:targetfile()})
|
|
end)
|
|
end
|