An open API service indexing awesome lists of open source software.

https://github.com/axel-op/vscode-devcontainer-cpp-conan

A template to demonstrate how to develop a C++ project in Visual Studio Code inside a container, using Conan dependency manager.
https://github.com/axel-op/vscode-devcontainer-cpp-conan

cmake conan containerization cpp docker gtest remote-development remote-development-container visual-studio-code vscode vscode-container vscode-remote

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# VSCode Containerized Development: C++ with CMake and Conan

> See [here](https://github.com/axel-op/vscode-containerdevelopment-cpp-vcpkg) for a similar example with vcpkg

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`](./.devcontainer/devcontainer.json) file and are automatically installed with the container.

## How to use it

You need to have [Visual Studio Code](https://code.visualstudio.com/) and the [Remote Development extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) installed on your computer.

Open the `.cpp` file to debug, then press F5 to launch the instructions defined in [`launch.json`](./.vscode/launch.json).