1
0
Fork 0
C++ template repository for personal use.
  • Nix 37.9%
  • CMake 36.4%
  • Makefile 20.7%
  • C++ 5%
Find a file Use this template
2026-06-01 10:39:08 +10:00
nix nix: init flake form 2026-06-01 10:39:01 +10:00
src feat: add example library linking and usage to main 2025-09-15 11:22:51 +10:00
.clang-format populate repository 2025-09-11 11:36:07 +10:00
.clang-tidy populate repository 2025-09-11 11:36:07 +10:00
.gitattributes populate repository 2025-09-11 11:36:07 +10:00
.gitignore add missing makefile 2025-09-11 11:37:45 +10:00
CMakeLists.txt build: add install target 2026-06-01 10:38:09 +10:00
flake.lock nix: init flake lock 2026-06-01 10:39:08 +10:00
flake.nix nix: init flake form 2026-06-01 10:39:01 +10:00
LICENSE Initial commit 2025-09-11 11:34:11 +10:00
Makefile build: remove nix target 2026-06-01 10:38:30 +10:00
README.md docs: update readme 2026-06-01 10:36:24 +10:00
VERSION populate repository 2025-09-11 11:36:07 +10:00

C++ Template

A minimal, ready-to-use C++ project template for fast setup and development. Depends on Nix and direnv for automated environment setup / dependency management.

Usage

When creating your own C++ Project in Github you can use this repository as a template to get started quickly.

Building

Building is done using a combination of both make and CMake.

Make targets are used as shorthand for verbose CMake commands. See the makefile for available targets.

Note

Don't build with CMake directly, always use make and specify a target.

make all

Debug

make debug

References