File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,6 +244,17 @@ elseif(MSVC)
244244 COMPILE_FLAGS
245245 -fp:precise
246246 )
247+ get_filename_component (
248+ ITK_Debugger_DIR
249+ "${CMAKE_CURRENT_LIST_DIR } /../../../../Utilities/Debugger"
250+ ABSOLUTE
251+ )
252+
253+ # ITK.natvis are nicer debug visualizers for Visual Studio
254+ list (APPEND ITKCommon_SRCS ${ITK_Debugger_DIR} /ITK.natvis)
255+
256+ # do not step into SmartPointer and Object::Register
257+ list (APPEND ITKCommon_SRCS ${ITK_Debugger_DIR} /ITK.natstepfilter)
247258endif ()
248259
249260### generating libraries
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <StepFilter xmlns =" https://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010" >
3+ <Function ><Name >itk::SmartPointer.+</Name ><Action >NoStepInto</Action ></Function >
4+ <Function ><Name >itk::Object::Register</Name ><Action >NoStepInto</Action ></Function >
5+ </StepFilter >
You can’t perform that action at this time.
0 commit comments