summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/genie.lua
diff options
context:
space:
mode:
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",