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.
- Host: GitHub
- URL: https://github.com/axel-op/vscode-devcontainer-cpp-conan
- Owner: axel-op
- License: mit
- Created: 2020-07-24T13:24:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-27T12:00:36.000Z (almost 5 years ago)
- Last Synced: 2025-03-17T17:49:16.843Z (about 2 months ago)
- Topics: cmake, conan, containerization, cpp, docker, gtest, remote-development, remote-development-container, visual-studio-code, vscode, vscode-container, vscode-remote
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 8
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).