Example of a simple CLI application utilizing the vcpkg manager.
- Follow install steps
- Set the
VCPKG_ROOT
env variable.- It is referenced in
CMakeUserPresets.json
andCMakePresets.json
- It is referenced in
- Command Palette
CMake: Build
to build. - Command Palette
CMake: Run Without Debugging
to build and then run the target. - Command Palette
CMake: Debug
to build and then run the target in debug.
Alternatively the CMake Extension offers quick action buttons at the bottom of VSCode in the status bar.