mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 05:11:01 +00:00
add optimization filters
This commit is contained in:
parent
40fa3f3418
commit
08975ae249
13
premake5.lua
13
premake5.lua
@ -19,6 +19,16 @@ files {
|
||||
"src/monitor.**"
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
optimize "Debug"
|
||||
defines { "_DEBUG"}
|
||||
|
||||
filter "configurations:Release"
|
||||
optimize "Speed"
|
||||
defines { "NDEBUG"}
|
||||
|
||||
filter {}
|
||||
|
||||
filter "system:Windows"
|
||||
files {
|
||||
"src/win32_**.c",
|
||||
@ -28,4 +38,5 @@ filter "system:Windows"
|
||||
"src/osmesa_**",
|
||||
"src/vulkan.**"
|
||||
}
|
||||
defines {"_GLFW_WIN32"}
|
||||
defines {"_GLFW_WIN32"}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user