mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 05:11:01 +00:00
43 lines
772 B
Lua
43 lines
772 B
Lua
project "glfw3"
|
|
kind "StaticLib"
|
|
language "C"
|
|
|
|
targetdir("build/%{cfg.system}/%{cfg.architecture}/%{cfg.shortname}/bin")
|
|
objdir("build/%{cfg.system}/%{cfg.architecture}/%{cfg.shortname}/bin-int")
|
|
|
|
includedirs {
|
|
"include/"
|
|
}
|
|
|
|
files {
|
|
"src/window.**",
|
|
"src/context.**",
|
|
"src/input.**",
|
|
"src/internal.**",
|
|
"src/glfw_config.h.in",
|
|
"src/init.**",
|
|
"src/monitor.**"
|
|
}
|
|
|
|
filter "configurations:Debug"
|
|
optimize "Debug"
|
|
defines { "_DEBUG"}
|
|
|
|
filter "configurations:Release"
|
|
optimize "Speed"
|
|
defines { "NDEBUG"}
|
|
|
|
filter {}
|
|
|
|
filter "system:Windows"
|
|
files {
|
|
"src/win32_**.c",
|
|
"src/win32_**.h",
|
|
"src/wgl_**",
|
|
"src/egl_**",
|
|
"src/osmesa_**",
|
|
"src/vulkan.**"
|
|
}
|
|
defines {"_GLFW_WIN32"}
|
|
|