diff options
Diffstat (limited to 'Tests/RunCMake/CommandLine/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 205949b..45b4c0e 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -125,6 +125,17 @@ run_cmake_command(cache-bad-entry run_cmake_command(cache-empty-entry ${CMAKE_COMMAND} --build ${RunCMake_SOURCE_DIR}/cache-empty-entry/) +run_cmake_command(DebuggerCapabilityInspect ${CMAKE_COMMAND} -E capabilities) +get_property(CMake_ENABLE_DEBUGGER DIRECTORY PROPERTY CMake_ENABLE_DEBUGGER) +if(CMake_ENABLE_DEBUGGER) + run_cmake_with_options(DebuggerArgMissingPipe --debugger-pipe) + run_cmake_with_options(DebuggerArgMissingDapLog --debugger-dap-log) +else() + run_cmake_with_options(DebuggerNotSupported --debugger) + run_cmake_with_options(DebuggerNotSupportedPipe --debugger-pipe pipe) + run_cmake_with_options(DebuggerNotSupportedDapLog --debugger-dap-log dap-log) +endif() + function(run_ExplicitDirs) set(RunCMake_TEST_NO_CLEAN 1) set(RunCMake_TEST_NO_SOURCE_DIR 1) |