This commit is contained in:
2025-03-19 18:19:35 +01:00
parent c85b335478
commit db921e3390
2 changed files with 31 additions and 35 deletions

View File

@@ -1,15 +1,15 @@
add_rules("mode.debug", "mode.release")
add_requires("libsdl")
add_requires("libsdl_mixer", {system = true})
add_requires("imgui", {configs = {sdl2 = true, opengl3 = true}})
add_requires("libsdl2 2.30.10")
add_requires("libsdl2_mixer 2.8.1")
add_requires("imgui v1.91.8", {configs = {sdl2 = true, opengl3 = true}})
target("PerfectHear")
set_kind("binary")
add_files("src/*.cpp")
add_includedirs("include")
add_packages("libsdl", "libsdl_mixer", "imgui")
add_packages("libsdl2", "libsdl2_mixer", "imgui")
if is_os("windows") then
add_ldflags("-static")