diff options
author | Artem Sokolovskii <[email protected]> | 2023-08-03 14:39:33 +0200 |
---|---|---|
committer | Artem Sokolovskii <[email protected]> | 2023-08-14 13:41:39 +0000 |
commit | 3ab2da691df5f43b94effc6266c7642df65fdcf0 (patch) | |
tree | d13930095d224713307d7ae25b0e4fb4b1dec762 /src/plugins/debugger/debuggerplugin.cpp | |
parent | 83d2ee56b70501d0d1277ebbf766cd85e0f62a4f (diff) |
DAP: Add check that cmake 3.27 or higher
If CMake version is lower then 3.27
- Shows the warning in general message
- Starts CMake without debugging
- Stops debugging correctly
Change-Id: Ibb13555c20ae2961c0a3c2ef6ec0fcc25930dddc
Reviewed-by: hjk <[email protected]>
Reviewed-by: <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6e557c4c2b2..9c313d45d16 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -830,8 +830,8 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments) }); connect(&m_startCmakeAction, &QAction::triggered, this, [] { -// ProjectTree::currentBuildSystem()->requestDebugging(); - ProjectExplorerPlugin::runStartupProject(ProjectExplorer::Constants::CMAKE_DEBUG_RUN_MODE, true); + ProjectExplorerPlugin::runStartupProject(ProjectExplorer::Constants::CMAKE_DEBUG_RUN_MODE, + true); }); connect(&m_debugWithoutDeployAction, &QAction::triggered, this, [] { |