渲染后端加入

This commit is contained in:
2026-02-17 13:28:38 +08:00
commit a5379b3816
49 changed files with 44512 additions and 0 deletions

13
platform/linux.lua Normal file
View File

@@ -0,0 +1,13 @@
add_requires("libsdl2", {configs = {shared = true,wayland = true}})
add_requires("glm")
target("Frostbite2D")
set_kind("binary")
add_files(path.join(os.projectdir(), "Fostbite2D/src/**.cpp"))
add_files(path.join(os.projectdir(), "Fostbite2D/src/**.c"))
add_includedirs(path.join(os.projectdir(), "Fostbite2D/include"))
add_packages("libsdl2")
add_packages("glm")
target_end()