C++ template repository for personal use.
- Nix 37.9%
- CMake 36.4%
- Makefile 20.7%
- C++ 5%
| nix | ||
| src | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| VERSION | ||
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
- hyprwm/hyprland reference for build system.