No description
Find a file
c b1218bb119
All checks were successful
Build / Build with CMake (push) Successful in 44s
revert d74600642d
revert Update .forgejo/workflows/build.yml
2025-12-02 23:03:34 -08:00
.forgejo/workflows revert d74600642d 2025-12-02 23:03:34 -08:00
assets Initial commit 2025-12-01 13:55:02 -08:00
src Initial commit 2025-12-01 13:55:02 -08:00
third_party Add submodule. 2025-12-01 16:25:24 -08:00
tools/cmake Initial commit 2025-12-01 13:55:02 -08:00
.clang-format Initial commit 2025-12-01 13:55:02 -08:00
.gitattributes Initial commit 2025-12-01 13:55:02 -08:00
.gitignore Initial commit 2025-12-01 13:55:02 -08:00
.gitmodules Initial commit 2025-12-01 13:55:02 -08:00
CMakeLists.txt Initial commit 2025-12-01 13:55:02 -08:00
CMakePresets.json Initial commit 2025-12-01 13:55:02 -08:00
justfile Initial commit 2025-12-01 13:55:02 -08:00
LICENSE Initial commit 2025-12-01 13:55:02 -08:00
new_cpp_project.sublime-project Initial commit 2025-12-01 13:55:02 -08:00
README.md Update README. 2025-12-02 09:20:51 -08:00
vcpkg-configuration.json Initial commit 2025-12-01 13:55:02 -08:00
vcpkg.json Initial commit 2025-12-01 13:55:02 -08:00

A Sample Project

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