f-squirrel / dockerized_cpp_build_example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:CMake 47.3%Language:Shell 28.3%Language:C++ 12.3%Language:Makefile 12.1%