summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/genie.lua
diff options
context:
space:
mode:
author Branimir Karadžić <branimirkaradzic@gmail.com>2017-03-29 17:09:40 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2017-03-29 17:09:40 +0200
commit49f7c99c7786ce257fae28dfeae2f8ee5810424c (patch)
tree1bbd30dd4dd48596186846c2fc77a8dc748215d2 /3rdparty/bgfx/scripts/genie.lua
parent79f22e060b2c012d628d5d1d83288c1bb6e6acef (diff)
Update BGFX and BX (nw)
Diffstat (limited to '3rdparty/bgfx/scripts/genie.lua')
-rw-r--r--3rdparty/bgfx/scripts/genie.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/bgfx/scripts/genie.lua b/3rdparty/bgfx/scripts/genie.lua
index 416075b9e00..a01d7fe068a 100644
--- a/3rdparty/bgfx/scripts/genie.lua
+++ b/3rdparty/bgfx/scripts/genie.lua
@@ -86,10 +86,6 @@ if not os.isdir(BX_DIR) then
os.exit()
end
-defines {
- "BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS=1"
-}
-
dofile (path.join(BX_DIR, "scripts/toolchain.lua"))
if not toolchain(BGFX_BUILD_DIR, BGFX_THIRD_PARTY_DIR) then
return -- no action specified
@@ -141,6 +137,10 @@ function exampleProject(_name)
path.join(BGFX_DIR, "examples", _name, "**.bin.h"),
}
+ flags {
+ "FatalWarnings",
+ }
+
links {
"example-common",
"bgfx",