Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 620 Bytes

File metadata and controls

32 lines (21 loc) · 620 Bytes

cpp-project-template

C++ project template.

Setup environment

Docker is used to provide the same environment for development.

./docker/docker_run.sh

VSCode DevContainers

VSCode DevContainers can automatically start docker with development environment. It requires DevContainers extension. In order to start the container, you need to execute Ctrl+Shift+P > DevContainers: Rebuild container.

Build

CMake is used as build system for the project.

mkdir -p build
cd build
cmake ..
cmake --build .

Run the produced executable (name matches project):

./cpp-project-template