updated premake to include debug symbols in Debug config and optimize in Release config

This commit is contained in:
Sara 2023-11-04 20:41:32 +01:00
parent 931a77b854
commit 90d4e52169

View file

@ -9,8 +9,12 @@ project "fencer"
files { "src/**.c" }
links { "SDL2", "SDL2_image", "cjson", "m" }
buildoptions { "-Wall", "-DVMATH_SDL=1" }
filter { "configurations:Debug" }
targetdir "bin/"
filter "configurations:Debug"
defines { "DEBUG" }
buildoptions { "-g3" }
targetdir "bin/"
filter { "configurations:Release" }
symbols "On"
filter "configurations:Release"
buildoptions { "-g0" }
defines { "NDEBUG" }
optimize "On"