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
11
premake5.lua
11
premake5.lua
@ -19,6 +19,16 @@ files {
|
|||||||
"src/monitor.**"
|
"src/monitor.**"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filter "configurations:Debug"
|
||||||
|
optimize "Debug"
|
||||||
|
defines { "_DEBUG"}
|
||||||
|
|
||||||
|
filter "configurations:Release"
|
||||||
|
optimize "Speed"
|
||||||
|
defines { "NDEBUG"}
|
||||||
|
|
||||||
|
filter {}
|
||||||
|
|
||||||
filter "system:Windows"
|
filter "system:Windows"
|
||||||
files {
|
files {
|
||||||
"src/win32_**.c",
|
"src/win32_**.c",
|
||||||
@ -29,3 +39,4 @@ filter "system:Windows"
|
|||||||
"src/vulkan.**"
|
"src/vulkan.**"
|
||||||
}
|
}
|
||||||
defines {"_GLFW_WIN32"}
|
defines {"_GLFW_WIN32"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user