mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Updated premake for MacOS
This commit is contained in:
parent
11ce43798b
commit
68fa5b50c4
25
premake5.lua
25
premake5.lua
|
@ -41,6 +41,31 @@ project "GLFW"
|
||||||
{
|
{
|
||||||
"_GLFW_X11"
|
"_GLFW_X11"
|
||||||
}
|
}
|
||||||
|
filter "system:macosx"
|
||||||
|
pic "On"
|
||||||
|
systemversion "latest"
|
||||||
|
|
||||||
|
sysincludedirs {"include"}
|
||||||
|
files
|
||||||
|
{
|
||||||
|
"src/cocoa_init.m",
|
||||||
|
"src/cocoa_joystick.h",
|
||||||
|
"src/cocoa_monitor.m",
|
||||||
|
"src/cocoa_window.m",
|
||||||
|
"src/cocoa_time.c",
|
||||||
|
"src/posix_thread.c",
|
||||||
|
"src/nsgl_context.m",
|
||||||
|
"src/egl_context.c",
|
||||||
|
"src/osmesa_context.c"
|
||||||
|
}
|
||||||
|
|
||||||
|
defines
|
||||||
|
{
|
||||||
|
defines "_GLFW_COCOA"
|
||||||
|
}
|
||||||
|
|
||||||
|
filter "files:**.m"
|
||||||
|
compileas "Objective-C"
|
||||||
|
|
||||||
filter "system:windows"
|
filter "system:windows"
|
||||||
systemversion "latest"
|
systemversion "latest"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user