2025-01-05 15:59:32 +00:00
|
|
|
workspace "game"
|
|
|
|
configurations { "debug", "release" }
|
|
|
|
location "."
|
|
|
|
|
|
|
|
project "game"
|
|
|
|
kind "WindowedApp"
|
2025-01-08 15:43:19 +00:00
|
|
|
language "C++"
|
|
|
|
cppdialect "C++20"
|
2025-01-05 15:59:32 +00:00
|
|
|
location "build/"
|
2025-01-09 20:58:37 +00:00
|
|
|
buildinputs "../resources/**.*"
|
|
|
|
buildoutputs "%{cfg.targetdir}/resources/**.*"
|
2025-01-08 15:43:19 +00:00
|
|
|
postbuildcommands "{COPYDIR} ../resources %{cfg.targetdir}"
|
2025-01-05 15:59:32 +00:00
|
|
|
files { "src/**.cpp" }
|
|
|
|
includedirs { "src/" }
|
|
|
|
links { "SDL2", "SDL2_image", "m" }
|
|
|
|
targetdir "bin/"
|
|
|
|
exceptionhandling "Off"
|
|
|
|
filter "configurations:debug"
|
|
|
|
defines { "DEBUG" }
|
|
|
|
optimize "Off"
|
|
|
|
symbols "On"
|
|
|
|
filter "configurations:release"
|
|
|
|
defines { "NDEBUG" }
|
|
|
|
optimize "On"
|
|
|
|
symbols "Off"
|