axel-op / vscode-devcontainer-cpp-vcpkg

A template to demonstrate how to develop a C++ project in Visual Studio Code inside a container, using vcpkg dependency manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VSCode Containerized Development: C++ with CMake and Vcpkg

See here for a similar example with Conan

This template demonstrates how to build and execute a C++ program inside a container.

All the C++ related VSCode extensions are defined in the devcontainer.json file and are automatically installed with the container.

How to use it

You need to have Visual Studio Code and the Remote Development extension installed on your computer.

Open the .cpp file to debug, then press F5 to launch the instructions defined in launch.json.

About

A template to demonstrate how to develop a C++ project in Visual Studio Code inside a container, using vcpkg dependency manager.

License:MIT License


Languages

Language:Dockerfile 71.5%Language:CMake 12.3%Language:C++ 10.8%Language:C 5.4%