C++
. A number of C and C++ extensions are displayed. You want the one called C++. Make sure it is from Microsoft. This extension provides Intellisense, debugging, and browsing capabilities. Click on the Install button to install it.master*
indicates that you are editing the git master branch and that changes have been made. The symbols and 0s indicate that there are currently no errors in workspace. Planner you grow girl. Next is a button that will run CMake (CMake: [Debug]
). No Kit Selected
indicates that the build tools have not yet been selected; we will get to them in a moment. Following that is a Build
button, the default target, a bug button that will run the application in debug mode, and a button that will run the application without starting the debugger. The remainder of the status bar provides other information that we are not currently concerned with.CMake: [Debug]
button. The first time you do so, a list of build tool kits is displayed below the main menu. Select either Unspecified
, or Visual Studio Build Tools 2019 Release - amd64
. The No Kit Selected
text in the status bar will change to [Visual Studio Build Tools 2019 Release - amd64]
, and a list of CMake configurations are displayed: Debug
, Release
, MinSizeRel
, and RelWithDebInfo
.Debug
. This will execute CMake and generate a Visual Studio solution file (.sln
) and Visual Studio project files (.vcxproj
) if there are no errors. If there are errors, then something is not right with the CMakeLists.txt files or the C++ source files.build/Release
.Bug
button, or by selecting Run → Start Debugging
, a list of build environments will be displayed just below the main menu. Select C++ (Windows)
.CMake
and Build
.Run → Start Debugging
from the main menu. In the latter case, the first time you do this, a list of debug environments is displayed. Select C++ (Windows)
. If the active file in VS Code is a C++ source file, a list of configurations is then displayed. You can select either cl.exe - Build and debug active file
or Default configuration
. If a different type of file is active, such as CMakeLists.txt, then the configuration list is not displayed.${workspaceFolder}/build/apps/Debug/main.exe