This is a docker C++ template project, with an example multi-threaded program that consumes the numbers [0, 99] and outputs them to stdout.
You can build the docker image for this example by running the following command below:
docker build -t <your_docker_image_name_here> .
You can create a docker container that will run this image (in interactive mode) with the following command:
docker run -it <your_docker_image_name_here>
Running this project without docker will require you to have the following items installed:
- A modern C++ compiler (gcc17+ or clang17+).
- Conan 2.0+
- CMake 3.25.1+
Assuming all of the above items are installed, you can build the project by running the command below:
sh build.sh
Once built, you can execute the project by running the command below:
sh run.sh