mirror of
https://github.com/glfw/glfw.git
synced 2025-06-08 00:34:56 +00:00
29 lines
591 B
Lua
29 lines
591 B
Lua
project "GLFW"
|
|
kind "StaticLib"
|
|
language "C"
|
|
|
|
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
|
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
|
|
|
files
|
|
{
|
|
"include/GLFW/glfw3.h",
|
|
"include/GLFW/glfw3native.h",
|
|
"src/*.c",
|
|
}
|
|
|
|
filter "system:windows"
|
|
buildoptions { "-std=c11", "-lgdi32" }
|
|
systemversion "latest"
|
|
staticruntime "On"
|
|
|
|
|
|
|
|
defines
|
|
{
|
|
"_GLFW_WIN32",
|
|
"_CRT_SECURE_NO_WARNINGS"
|
|
}
|
|
filter { "system:windows", "configurations:Release" }
|
|
buildoptions "/MT"
|