-
Notifications
You must be signed in to change notification settings - Fork 21
VSCode Config
Eric Waldman edited this page Apr 1, 2022
·
9 revisions
Install the C++ and CMake extensions for VSCode.
To support linting and building from VSCode, enter the
following into .vscode/settings.json
:
{
"cmake.sourceDirectory": "${workspaceFolder}",
"cmake.buildDirectory": "${workspaceFolder}/build"
}
{
"cmake.sourceDirectory": "${workspaceFolder}",
"cmake.buildDirectory": "${workspaceFolder}/build",
"cmake.generator": "Visual Studio 17 2022"
}
For the cmake.generator
field, pick the supported cmake generator for the compiler you intend to use.