summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-08-29 05:55:49 -0700
committerGitHub <noreply@github.com>2023-08-29 20:55:49 +0800
commit9d4e044bad6161a593806fc6fb610d41aa8b4b22 (patch)
tree28214d3a2a56762f3b858299696f4d4f8a85686f /premake5.lua
parentb8fcb586f6a931ab674b0da7f375f38aff9608d4 (diff)
Add more wave intrinsics. (#3162)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index e7b3774e2..60cd9caf4 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -442,7 +442,7 @@ workspace "slang"
-- For including windows.h in a way that minimized namespace pollution.
-- Although we define these here, we still set them manually in any header
-- files which may be included by another project
- defines { "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN", "NOMINMAX" }
+ defines { "WIN32_LEAN_AND_MEAN", "VC_EXTRALEAN", "NOMINMAX", "_ITERATOR_DEBUG_LEVEL=0" }
if dxOnVk then
defines { "SLANG_CONFIG_DX_ON_VK" }
@@ -1582,7 +1582,7 @@ standardProject("slang", "source/slang")
links { "core", "compiler-core", "miniz", "lz4"}
warnings "Extra"
pic "On"
-
+
-- The way that we currently configure things through `slang.h`,
-- we need to set a preprocessor definitions to ensure that
-- we declare the Slang API functions for *export* and not *import*.