further moving towards new build system

This commit is contained in:
Sara 2023-11-20 14:10:48 +01:00
parent c6d4351c48
commit c10c4ad629
4 changed files with 26 additions and 13 deletions

View file

@ -4,17 +4,21 @@ project "Game"
staticruntime "Off"
targetdir "bin/%{cfg.buildcfg}"
defines { "VMATH_SDL" }
files { "src/*.c" }
includedirs {
"src/",
"../core/src"
}
links {
"Fencer-Core"
"Engine-Core"
}
targetdir ("../bin" .. OutputDir .. "/%{prj.name}" )
objdir ("../intermediate" .. OutputDir .. "/%{prj.name}" )
links { "SDL2", "SDL2_image", "SDL2_ttf", "m", "cjson"}
targetdir ("../bin/" .. OutputDir .. "/%{prj.name}" )
objdir ("../intermediate/" .. OutputDir .. "/%{prj.name}" )
filter "configurations:Debug"
defines { "DEBUG" }