diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index 8475a316d..0998a338f 100644 --- a/premake5.lua +++ b/premake5.lua @@ -356,6 +356,10 @@ workspace "slang" filter { "toolset:clang or gcc*", "language:C++" } buildoptions { "-Wno-reorder", "-Wno-class-memaccess", "-Wno-invalid-offsetof" } + filter { "files:source/compiler-core/slang-dxc-compiler.cpp", "toolset:clang or gcc" } + -- For the DXC headers + buildoptions { "-fms-extensions" } + filter { "toolset:gcc*" } buildoptions { "-Wno-implicit-fallthrough", "-Wno-maybe-uninitialized" } |
