mirror of
https://github.com/glfw/glfw.git
synced 2025-04-11 19:32:02 +00:00
change configurations for release and debug
This commit is contained in:
parent
098db2ef71
commit
3fada28a8f
10
premake5.lua
10
premake5.lua
@ -55,9 +55,11 @@ project "GLFW"
|
|||||||
}
|
}
|
||||||
|
|
||||||
filter "configurations:Debug"
|
filter "configurations:Debug"
|
||||||
runtime "Debug"
|
defines "SANDBOX_DEBUG"
|
||||||
symbols "on"
|
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"
|
filter "configurations:Release"
|
||||||
runtime "Release"
|
defines "SANDBOX_RELEASE"
|
||||||
optimize "on"
|
buildoptions "/MT" --it uses multithread, static version of the run-time library.[MDd]
|
||||||
|
optimize "On" -- remove all the debuging datas.
|
||||||
|
Loading…
Reference in New Issue
Block a user