From 3fada28a8f016003d043f1ee983ab7fec72c2470 Mon Sep 17 00:00:00 2001 From: jumailj Date: Sat, 18 Mar 2023 12:17:15 +0530 Subject: [PATCH] change configurations for release and debug --- premake5.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/premake5.lua b/premake5.lua index 8733fa36..6b102c27 100644 --- a/premake5.lua +++ b/premake5.lua @@ -55,9 +55,11 @@ project "GLFW" } filter "configurations:Debug" - runtime "Debug" - symbols "on" + defines "SANDBOX_DEBUG" + buildoptions "/MT" --it uses multithread, static version of the run-time library.[MDd] + symbols "On" -- it allows us to debug code. line by line. which the exe contain suppoting elements to debug. filter "configurations:Release" - runtime "Release" - optimize "on" + defines "SANDBOX_RELEASE" + buildoptions "/MT" --it uses multithread, static version of the run-time library.[MDd] + optimize "On" -- remove all the debuging datas.