diff options
author | 2015-10-20 21:34:36 +0200 | |
---|---|---|
committer | 2015-10-20 21:34:36 +0200 | |
commit | a7b8acbe3eebcf17367baa642375cfa47ae4ea85 (patch) | |
tree | 854b859d6176802c0278f4b00de3f7c774e02dda /3rdparty/bgfx/scripts/genie.lua | |
parent | 4610935e796661874bb4ee7ec6536d9423aeb7be (diff) | |
parent | 74aae76c4e3e257f99d139c4febb5d86d1419e50 (diff) |
Merge pull request #6 from mamedev/master
Sync to base master
Diffstat (limited to '3rdparty/bgfx/scripts/genie.lua')
-rw-r--r-- | 3rdparty/bgfx/scripts/genie.lua | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/3rdparty/bgfx/scripts/genie.lua b/3rdparty/bgfx/scripts/genie.lua index 87ef1392731..ce3e8d8e6d2 100644 --- a/3rdparty/bgfx/scripts/genie.lua +++ b/3rdparty/bgfx/scripts/genie.lua @@ -24,6 +24,11 @@ newoption { } newoption { + trigger = "with-scintilla", + description = "Enable building with Scintilla editor.", +} + +newoption { trigger = "with-shared-lib", description = "Enable building shared library.", } @@ -300,22 +305,19 @@ function exampleProject(_name) } configuration { "osx" } - files { - path.join(BGFX_DIR, "examples/common/**.mm"), - } - links { - "Cocoa.framework", - "OpenGL.framework", + linkoptions { + "-framework Cocoa", + "-framework Metal", + "-framework QuartzCore", + "-framework OpenGL", } - configuration { "ios*" } + configuration { "ios* or tvos*" } kind "ConsoleApp" - files { - path.join(BGFX_DIR, "examples/common/**.mm"), - } linkoptions { "-framework CoreFoundation", "-framework Foundation", + "-framework Metal", "-framework OpenGLES", "-framework UIKit", "-framework QuartzCore", @@ -327,6 +329,12 @@ function exampleProject(_name) path.join(BGFX_DIR, "examples/runtime/iOS-Info.plist"), } + configuration { "xcode4", "tvos" } + kind "WindowedApp" + files { + path.join(BGFX_DIR, "examples/runtime/tvOS-Info.plist"), + } + configuration { "qnx*" } targetextension "" links { |