You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new 'CMake: Install Component' command that uses 'cmake --install
<dir> --component <name>' to install specific CMake install components.
- Add parseInstallComponentsFromContent() to parse cmake_install.cmake
- Add getInstallComponents() method on CMakeProject
- Add showComponentSelector() with QuickPick and InputBox fallback
- Add installComponent() method on CMakeProject and ExtensionManager
- Register cmake.installComponent command in package.json
- Add unit tests for component parsing
- Require CMake >= 3.15 with version guard
Co-authored-by: hanniavalera <[email protected]>
- Add command to clear build diagnostics from the Problems pane. [#4691](https://github.com/microsoft/vscode-cmake-tools/pull/4691)
9
10
- Clear build diagnostics from the Problems pane when a new build starts and populate them incrementally during the build. [#4608](https://github.com/microsoft/vscode-cmake-tools/issues/4608)
voidvscode.window.showErrorMessage(localize('bad.executable','Bad CMake executable: {0}. Check to make sure it is installed or the value of the {1} setting contains the correct path',`"${cmake.path}"`,'"cmake.cmakePath"'));
voidvscode.window.showErrorMessage(localize('cmake.install.component.version.error','CMake version 3.15 or later is required for component-based install. Current version: {0}',cmake.version ? util.versionToString(cmake.version) : 'unknown'));
2699
+
return{exitCode: -1};
2700
+
}
2701
+
2702
+
constdrv=awaitthis.getCMakeDriverInstance();
2703
+
if(!drv){
2704
+
voidvscode.window.showErrorMessage(localize('set.up.before.install.component','Set up your CMake project before installing a component.'));
0 commit comments