Files
CMake/Tests/CMakeLib/DebuggerSample/CMakeLists.txt
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

10 lines
405 B
CMake

cmake_minimum_required(VERSION 3.26)
project(DebuggerSample NONE)
message("Hello CMake Debugger")
# There are concerns that because the debugger uses libuv for pipe
# communication, libuv may register a SIGCHILD handler that interferes with
# the existing handler used by kwsys process management. Test this case with a
# simple external process.
execute_process(COMMAND "${CMAKE_COMMAND}" -E echo test)