dockerized_cpp_build_example icon indicating copy to clipboard operation
dockerized_cpp_build_example copied to clipboard

Dockerized C++ Build Example

This repository is an example of a C++ project built inside a docker container using the approach described in Dockerized build environments for C/C++ projects.

The base Makefile from the post is added as a git submodule from f-squirrel/dockerized_cpp and stored in build_toools of this repo.

The top-level Makefile "includes" build_tools/Makefile and overrides some default variables such as C/C++ compilers, project name, and adds a custom make target.

Additionally, the directory .devcontainer contains the minimum settings required to launch VS Code in the dockerized mode described in VS Code with dockerized build environments for C/C++ projects.