Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.07 KB

File metadata and controls

9 lines (5 loc) · 1.07 KB

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.