From d47d54928f46f1c869c8cca5cf67b310fd18cb1d Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 25 Jul 2023 13:49:36 -0700 Subject: 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 --- premake5.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'premake5.lua') 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 -- cgit v1.2.3