mirror of
https://github.com/glfw/glfw.git
synced 2025-04-16 10:16:00 +00:00
change to static
This commit is contained in:
parent
0b77dbffc5
commit
8205009581
1 changed files with 10 additions and 5 deletions
15
premake5.lua
15
premake5.lua
|
@ -1,7 +1,8 @@
|
|||
project "GLFW"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
|
||||
staticruntime "on"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
|
@ -31,9 +32,7 @@ project "GLFW"
|
|||
}
|
||||
|
||||
filter "system:windows"
|
||||
buildoptions { "-std=c11", "-lgdi32" }
|
||||
systemversion "latest"
|
||||
staticruntime "On"
|
||||
|
||||
files
|
||||
{
|
||||
|
@ -56,5 +55,11 @@ project "GLFW"
|
|||
"_GLFW_WIN32",
|
||||
"_CRT_SECURE_NO_WARNINGS"
|
||||
}
|
||||
filter { "system:windows", "configurations:Release" }
|
||||
buildoptions "/MT"
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
Loading…
Add table
Reference in a new issue