This is a project template Chinmay uses for his C++ projects. Clone this repository template and replace the occurrences of new_cpp_project to get started.
- CMake (3.22 or above).
- Git.
- Ninja.
- Just, a task runner.
- A C11 and C++20 compiler.
- vcpkg for package management.
- Ensure that the
VCPKG_ROOTenvironment variable is present and valid.
- Ensure that the
Important
Make sure you have completed all pre-requisites.
This project uses the CMake build system but use just for tasks. Using just is optional but makes things easier.
- Fetch all submodules.
just sync
- Generate the default build directory.
just setup
- Build the default CMake preset.
just build