mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 00:04:55 +00:00
change to static
This commit is contained in:
parent
8205009581
commit
0f1f3262f8
20
premake5.lua
20
premake5.lua
@ -3,11 +3,11 @@ project "GLFW"
|
|||||||
language "C"
|
language "C"
|
||||||
staticruntime "on"
|
staticruntime "on"
|
||||||
|
|
||||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||||
|
|
||||||
files
|
files
|
||||||
{
|
{
|
||||||
"include/GLFW/glfw3.h",
|
"include/GLFW/glfw3.h",
|
||||||
"include/GLFW/glfw3native.h",
|
"include/GLFW/glfw3native.h",
|
||||||
"src/glfw_config.h", --??should it to be delete?
|
"src/glfw_config.h", --??should it to be delete?
|
||||||
@ -31,7 +31,7 @@ project "GLFW"
|
|||||||
"src/null_joystick.c", --
|
"src/null_joystick.c", --
|
||||||
}
|
}
|
||||||
|
|
||||||
filter "system:windows"
|
filter "system:windows"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
|
|
||||||
files
|
files
|
||||||
@ -50,16 +50,16 @@ project "GLFW"
|
|||||||
"src/osmesa_context.c"
|
"src/osmesa_context.c"
|
||||||
}
|
}
|
||||||
|
|
||||||
defines
|
defines
|
||||||
{
|
{
|
||||||
"_GLFW_WIN32",
|
"_GLFW_WIN32",
|
||||||
"_CRT_SECURE_NO_WARNINGS"
|
"_CRT_SECURE_NO_WARNINGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
filter "configurations:Debug"
|
filter "configurations:Debug"
|
||||||
runtime "Debug"
|
runtime "Debug"
|
||||||
symbols "on"
|
symbols "on"
|
||||||
|
|
||||||
filter "configurations:Release"
|
filter "configurations:Release"
|
||||||
runtime "Release"
|
runtime "Release"
|
||||||
optimize "on"
|
optimize "on"
|
Loading…
Reference in New Issue
Block a user