Files
CMake/Tests/RunCMake/CommandLine/DebuggerCapabilityInspect-check.cmake
Glen Chung a9a592f96e cmake: Add debugger
- Depends on cppdap and jsoncpp.
- Add --debugger argument to enable the Debugger.
- Add --debugger-pipe argument for DAP traffics over named pipes.
- Support breakpoints by filenames and line numbers.
- Support exception breakpoints.
- Call stack shows filenames and line numbers.
- Show Cache Variables.
- Show the state of currently defined targets,
  tests and directories with their properties.
- Add cmakeVersion to DAP initialize response.
- Include unit tests.

Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
2023-05-30 09:46:12 -04:00

6 lines
183 B
CMake

if(actual_stdout MATCHES [["debugger" *: *true]])
set_property(DIRECTORY PROPERTY CMake_ENABLE_DEBUGGER 1)
else()
set_property(DIRECTORY PROPERTY CMake_ENABLE_DEBUGGER 0)
endif()