GitHunt
CH

chinmaygarde/new_cpp_project

Chinmay's C++ Project Template

A New C++ Project

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.

Prerequisites

  • 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_ROOT environment variable is present and valid.

Building

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

Languages

Dockerfile40.5%CMake37.8%Just15.7%C++3.2%C2.8%

Contributors

MIT License
Created October 12, 2024
Updated February 8, 2026
chinmaygarde/new_cpp_project | GitHunt