linux 系统编译通过

This commit is contained in:
lenheart 2026-02-17 13:46:20 +08:00
parent 637f087001
commit 9b743cf541
1 changed files with 4 additions and 1 deletions

View File

@ -1,10 +1,13 @@
add_requires("libsdl2", {configs = {shared = true}}) add_requires("libsdl2", {configs = {shared = true,wayland = true}})
add_requires("glm")
target("Frostbite2D") target("Frostbite2D")
set_kind("binary") set_kind("binary")
add_files(path.join(os.projectdir(), "Fostbite2D/src/**.cpp")) 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_includedirs(path.join(os.projectdir(), "Fostbite2D/include"))
add_packages("libsdl2") add_packages("libsdl2")
add_packages("glm")
target_end() target_end()