mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 16:24:57 +00:00
45 lines
888 B
Lua
45 lines
888 B
Lua
project "glfw"
|
|
kind "StaticLib"
|
|
language "C"
|
|
|
|
targetdir "bin/%{cfg.buildcfg}"
|
|
objdir "bin-int/%{cfg.buildcfg}"
|
|
|
|
files
|
|
{
|
|
"include/GLFW/glfw3.h",
|
|
"include/GLFW/glfw3native.h",
|
|
"src/**.h",
|
|
"src/**.c"
|
|
}
|
|
|
|
filter "system:windows"
|
|
systemversion "latest"
|
|
staticruntime "On"
|
|
|
|
files
|
|
{
|
|
"src/win32_init.c",
|
|
"src/win32_joystick.c",
|
|
"src/win32_monitor.c",
|
|
"src/win32_time.c",
|
|
"src/win32_thread.c",
|
|
"src/win32_window.c",
|
|
"src/wgl_context.c",
|
|
"src/egl_context.c",
|
|
"src/osmesa_context.c"
|
|
}
|
|
|
|
defines
|
|
{
|
|
"_GLFW_WIN32",
|
|
"_CRT_SECURE_NO_WARNINGS"
|
|
}
|
|
|
|
filter "configurations:Debug"
|
|
defines { "DEBUG" }
|
|
symbols "On"
|
|
|
|
filter "configurations:Release"
|
|
defines { "NDEBUG" }
|
|
optimize "On" |