summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheresa Foley <10618364+tangent-vector@users.noreply.github.com>2022-05-04 15:04:32 -0700
committerGitHub <noreply@github.com>2022-05-04 15:04:32 -0700
commitb9c11260e07b9e4bac6518a1f4eeaf241ac7e397 (patch)
treeabb2844b769a6f32f77ec8d061716c2e78c9a5ec
parentca86ce28829987fce2df4a81da976e6b18e17ad1 (diff)
Turn off warnings-as-errors for gfx (#2220)
Other than on Windows, we will go ahead and turn off warnings-as-errors for the gfx project, to help clean up some of our CI build mess.
-rw-r--r--premake5.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 123cc74aa..48008025b 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -875,7 +875,6 @@ standardProject("slang-rt", "source/slang-rt")
kind "SharedLib"
links { "core", "slang" }
pic "On"
- flags { "FatalWarnings" }
defines { "SLANG_GFX_DYNAMIC", "SLANG_GFX_DYNAMIC_EXPORT" }
@@ -904,6 +903,7 @@ standardProject("slang-rt", "source/slang-rt")
addSourceDir "tools/gfx/d3d"
addSourceDir "tools/gfx/d3d11"
addSourceDir "tools/gfx/d3d12"
+ flags { "FatalWarnings" }
elseif targetInfo.os == "mingw" or targetInfo.os == "cygwin" then
-- Don't support any render techs...
elseif os.target() == "macosx" then