summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-07-25 13:49:36 -0700
committerGitHub <noreply@github.com>2023-07-25 13:49:36 -0700
commitd47d54928f46f1c869c8cca5cf67b310fd18cb1d (patch)
tree75b0451d6596ee84652d2a37870ed82ef0f2ec21 /premake5.lua
parentde3c1b278c6fbfef774ecd3f4fae3740d9680dcf (diff)
Add slang.natjmc. (#3018)
This allows Visual Studio debugger to skip over AST visitor dispatch functions and stop directly at the `visit*` functions when stepping into a `dispatch*` call. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index c7ed254cb..404016b65 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -487,6 +487,10 @@ function addSourceDir(path)
path .. "/*.h", -- Header files
path .. "/*.hpp", -- C++ style headers (for glslang)
path .. "/*.natvis", -- Visual Studio debugger visualization files
+ path .. "/*.natstepfilter", -- Visual Studio debugger step filter files
+ path .. "/*.natjmc", -- Visual Studio debugger step filter files
+
+
}
removefiles
{
@@ -613,7 +617,7 @@ function baseSlangProject(name, sourceDir)
--
vpaths {
{ ["Header Files"] = { "**.h", "**.hpp"} },
- { ["Source Files"] = { "**.cpp", "**.slang", "**.natvis" } },
+ { ["Source Files"] = { "**.cpp", "**.slang", "**.natvis", "**.natjmc" } },
}
-- Override default options for a project if necessary