1
0
Fork 0
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:
Gordon McCann 2021-12-24 15:04:05 -05:00
parent 11ce43798b
commit 68fa5b50c4

View File

@ -41,6 +41,31 @@ project "GLFW"
{
"_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"
systemversion "latest"