Add .vscode settings/scripts to support VS Code#332
Open
KonradBreitsprecherBkd wants to merge 4 commits into
Open
Add .vscode settings/scripts to support VS Code#332KonradBreitsprecherBkd wants to merge 4 commits into
KonradBreitsprecherBkd wants to merge 4 commits into
Conversation
…/build with VS Code Signed-off-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
Signed-off-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
Signed-off-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
Signed-off-by: Konrad Breitsprecher <Konrad.Breitsprecher@vector.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
https://github.com/vectorgrp/sil-kit-planning/issues/102
CMake configure and build worked only when VS Code inherited an already-initialized Visual Studio developer environment, for example when started from a VS Developer Console.
This caused failures in normal VS Code sessions, especially for CMake Tools commands and task execution.
PR Summary
This PR adds a portable VS Code CMake workflow for Windows and MSVC so the repository can be configured and built without launching VS Code from a Visual Studio Developer Prompt.
It standardizes how CMake is invoked in VS Code by bootstrapping the Visual Studio environment automatically through committed workspace configuration in .vscode.
What Changed
Notes