diff options
author | 2017-12-01 13:22:27 +0100 | |
---|---|---|
committer | 2017-12-01 13:22:27 +0100 | |
commit | 39176274946d70ff520f265dee8fbd16d5fe0000 (patch) | |
tree | 318801d93146752050c9a492654ae3738820e3b9 /3rdparty/bgfx/scripts/bgfx.lua | |
parent | 6829ecb3b037d6bfbe0b84e818d17d712f71bce6 (diff) |
Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
Diffstat (limited to '3rdparty/bgfx/scripts/bgfx.lua')
-rw-r--r-- | 3rdparty/bgfx/scripts/bgfx.lua | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/3rdparty/bgfx/scripts/bgfx.lua b/3rdparty/bgfx/scripts/bgfx.lua index f95e99f6d78..adccbf026d2 100644 --- a/3rdparty/bgfx/scripts/bgfx.lua +++ b/3rdparty/bgfx/scripts/bgfx.lua @@ -36,9 +36,13 @@ function overridefiles(_srcPath, _dstPath, _files) end function bgfxProject(_name, _kind, _defines) - project ("bgfx" .. _name) uuid (os.uuid("bgfx" .. _name)) + bgfxProjectBase(_kind, _defines) + copyLib() +end + +function bgfxProjectBase(_kind, _defines) kind (_kind) if _kind == "SharedLib" then @@ -47,6 +51,7 @@ function bgfxProject(_name, _kind, _defines) } links { + "bimg", "bx", } @@ -73,6 +78,7 @@ function bgfxProject(_name, _kind, _defines) path.join(BGFX_DIR, "3rdparty"), path.join(BGFX_DIR, "3rdparty/dxsdk/include"), path.join(BX_DIR, "include"), + path.join(BIMG_DIR, "include"), } defines { @@ -141,10 +147,11 @@ function bgfxProject(_name, _kind, _defines) "-weak_framework MetalKit", } - configuration { "not nacl", "not linux-steamlink" } + configuration { "not nacl", "not linux-steamlink", "not NX32", "not NX64" } includedirs { --nacl has GLES2 headers modified... --steamlink has EGL headers modified... + --NX has EGL headers modified... path.join(BGFX_DIR, "3rdparty/khronos"), } @@ -220,6 +227,4 @@ function bgfxProject(_name, _kind, _defines) end configuration {} - - copyLib() end |