mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
- 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>
6 lines
183 B
CMake
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()
|