https://github.com/kruziikrel13/cpp_template
C++ Template Repository for personal use.
https://github.com/kruziikrel13/cpp_template
clang cmake cpp nix template
Last synced: 3 months ago
JSON representation
C++ Template Repository for personal use.
- Host: GitHub
- URL: https://github.com/kruziikrel13/cpp_template
- Owner: Kruziikrel13
- License: mit
- Created: 2025-09-11T01:34:11.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-09-15T01:31:09.000Z (10 months ago)
- Last Synced: 2025-09-15T03:27:36.922Z (10 months ago)
- Topics: clang, cmake, cpp, nix, template
- Language: CMake
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```sh
make all
```
### Debug
```sh
make debug
```
## References
- [hyprwm/hyprland](https://github.com/hyprwm/Hyprland) reference for build system.