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"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
staticruntime "on"
|
||||
|
||||
targetdir ("bin/" .. outputdir .."/${prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/${prj.name}")
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
@ -15,13 +16,16 @@ project "GLFW"
|
||||
"src/input.c",
|
||||
"src/monitor.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"
|
||||
buildoptions {"-std=c11", "-lgdi32"}
|
||||
systemversion "lastest"
|
||||
staticruntime "On"
|
||||
systemversion "latest"
|
||||
|
||||
files
|
||||
{
|
||||
@ -33,7 +37,8 @@ project "GLFW"
|
||||
"src/win32_window.c",
|
||||
"src/wgl_context.c",
|
||||
"src/egl_context.c",
|
||||
"src/osmesa_context.c"
|
||||
"src/osmesa_context.c",
|
||||
"src/win32_module.c"
|
||||
}
|
||||
|
||||
defines
|
||||
@ -42,5 +47,13 @@ project "GLFW"
|
||||
"_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…
Reference in New Issue
Block a user