Chinmay's C++ Project Template
Find a file Use this template
dependabot[bot] bb3eecfb21
Bump github.com/microsoft/vcpkg from master to 2025.12.12 (#4)
Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to 2025.12.12. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/vcpkg/releases)
- [Commits](74e6536215...84bab45d41)

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: 2025.12.12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-31 18:32:08 -08:00
.github Setup CCache. 2025-11-29 17:57:28 -08:00
assets Setup new C++ project template. 2024-10-12 11:43:18 -07:00
src Use VCPKG by default. 2025-04-23 11:32:44 -07:00
third_party Use VCPKG by default. 2025-04-23 11:32:44 -07:00
tools/cmake Setup new C++ project template. 2024-10-12 11:43:18 -07:00
.clang-format Update .clang-format 2025-03-27 23:18:26 -07:00
.clangd Fixup clangd paths. 2025-12-25 16:32:25 -08:00
.gitattributes Update .gitattributes to include assets directory. 2025-11-25 18:10:55 -08:00
.gitignore Setup new C++ project template. 2024-10-12 11:43:18 -07:00
.gitmodules Use VCPKG by default. 2025-04-23 11:32:44 -07:00
CMakeLists.txt Enable recommended warnings. 2025-12-05 12:06:06 -08:00
CMakePresets.json Switch to justfiles with more presets. 2025-11-23 10:56:05 -08:00
justfile Switch to justfiles with more presets. 2025-11-23 10:56:05 -08:00
LICENSE Update LICENSE 2025-01-30 10:53:40 -08:00
new_cpp_project.sublime-project Fixup clangd paths. 2025-12-25 16:32:25 -08:00
README.md Update README. 2025-11-29 18:00:18 -08:00
vcpkg-configuration.json Update baseline. 2025-11-26 10:03:51 -08:00
vcpkg.json Bump github.com/microsoft/vcpkg from master to 2025.12.12 (#4) 2025-12-31 18:32:08 -08:00

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