Skip to content

VSCode Config

Eric Waldman edited this page Mar 8, 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}/demo",
    "cmake.buildDirectory": "${workspaceFolder}/demo/build"
}

On Windows, you should also add the following line. Modify it according to the version of Visual Studio used.

{
    "cmake.generator": "Visual Studio 17 2022"
}
Clone this wiki locally