summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/bgfx.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-10-15 10:42:29 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-10-15 10:42:29 +0200
commit8981faa61fc1e9421805938e6656d84ff61be1f9 (patch)
tree6295fadfe79ab1f2bafafd3f321e01063ca3cff7 /3rdparty/bgfx/scripts/bgfx.lua
parenta74a7a37ef1f6ea1fd9c96148be8fa7ba09b1054 (diff)
update bgfx to latest (nw)
Diffstat (limited to '3rdparty/bgfx/scripts/bgfx.lua')
-rw-r--r--3rdparty/bgfx/scripts/bgfx.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/3rdparty/bgfx/scripts/bgfx.lua b/3rdparty/bgfx/scripts/bgfx.lua
index 8c196d5b7d6..c9658d35f84 100644
--- a/3rdparty/bgfx/scripts/bgfx.lua
+++ b/3rdparty/bgfx/scripts/bgfx.lua
@@ -69,11 +69,17 @@ function bgfxProject(_name, _kind, _defines)
"GLESv2",
}
- configuration { "winphone8* or winstore8*"}
+ configuration { "winphone8* or winstore8*" }
linkoptions {
"/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata
}
+ configuration { "*clang*" }
+ buildoptions {
+ "-Wno-microsoft-enum-value", -- enumerator value is not representable in the underlying type 'int'
+ "-Wno-microsoft-const-init", -- default initialization of an object of const type '' without a user-provided default constructor is a Microsoft extension
+ }
+
configuration { "osx" }
links {
"Cocoa.framework",