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