mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 04:02:31 +00:00
updated lua file
This commit is contained in:
parent
1499a137ad
commit
099904ab3f
31
premake5.lua
31
premake5.lua
@ -1,9 +1,10 @@
|
|||||||
project "GLFW"
|
project "GLFW"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
language "C"
|
language "C"
|
||||||
|
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
|
||||||
{
|
{
|
||||||
@ -15,13 +16,16 @@ project "GLFW"
|
|||||||
"src/input.c",
|
"src/input.c",
|
||||||
"src/monitor.c",
|
"src/monitor.c",
|
||||||
"src/vulkan.c",
|
"src/vulkan.c",
|
||||||
"src/window.c"
|
"src/window.c",
|
||||||
|
"src/platform.c",
|
||||||
|
"src/null_init.c",
|
||||||
|
"src/null_monitor.c",
|
||||||
|
"src/null_window.c",
|
||||||
|
"src/null_joystick.c"
|
||||||
}
|
}
|
||||||
|
|
||||||
filter "system:windows"
|
filter "system:windows"
|
||||||
buildoptions {"-std=c11", "-lgdi32"}
|
systemversion "latest"
|
||||||
systemversion "lastest"
|
|
||||||
staticruntime "On"
|
|
||||||
|
|
||||||
files
|
files
|
||||||
{
|
{
|
||||||
@ -33,7 +37,8 @@ project "GLFW"
|
|||||||
"src/win32_window.c",
|
"src/win32_window.c",
|
||||||
"src/wgl_context.c",
|
"src/wgl_context.c",
|
||||||
"src/egl_context.c",
|
"src/egl_context.c",
|
||||||
"src/osmesa_context.c"
|
"src/osmesa_context.c",
|
||||||
|
"src/win32_module.c"
|
||||||
}
|
}
|
||||||
|
|
||||||
defines
|
defines
|
||||||
@ -42,5 +47,13 @@ project "GLFW"
|
|||||||
"_CRT_SECURE_NO_WARNINGS"
|
"_CRT_SECURE_NO_WARNINGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
filter {"system:windows", "configurations:Release"}
|
filter "configurations:Debug"
|
||||||
buildoptions "/MT"
|
runtime "Debug"
|
||||||
|
symbols "on"
|
||||||
|
|
||||||
|
filter "configurations:Release"
|
||||||
|
runtime "Release"
|
||||||
|
optimize "on"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user