diff --git a/premake5.lua b/premake5.lua index b39509f..e97d585 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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"