mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
Added OSX entry point and OpenGL context
Added OSX entry point and OpenGL context
This commit is contained in:
7
premake/example-07-callback.lua
Normal file → Executable file
7
premake/example-07-callback.lua
Normal file → Executable file
@@ -12,6 +12,7 @@ project "example-07-callback"
|
||||
files {
|
||||
BGFX_DIR .. "examples/common/**.cpp",
|
||||
BGFX_DIR .. "examples/common/**.h",
|
||||
BGFX_DIR .. "examples/common/**.mm",
|
||||
BGFX_DIR .. "examples/07-callback/**.cpp",
|
||||
BGFX_DIR .. "examples/07-callback/**.h",
|
||||
}
|
||||
@@ -34,3 +35,9 @@ project "example-07-callback"
|
||||
"GL",
|
||||
"pthread",
|
||||
}
|
||||
|
||||
configuration { "macosx" }
|
||||
links {
|
||||
"Cocoa.framework",
|
||||
"OpenGL.framework",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user