https://github.com/budchirp/cpp-template
C++ template for starting your projects faster
https://github.com/budchirp/cpp-template
cmake cpp
Last synced: over 1 year ago
JSON representation
C++ template for starting your projects faster
- Host: GitHub
- URL: https://github.com/budchirp/cpp-template
- Owner: budchirp
- License: gpl-3.0
- Created: 2022-03-12T16:54:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-07T15:29:35.000Z (over 1 year ago)
- Last Synced: 2025-03-19T04:59:14.281Z (over 1 year ago)
- Topics: cmake, cpp
- Language: CMake
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cpp-template
C++ template for starting your projects faster
## 💾 Getting started
### Requirements
1. C/C++ compiler
2. CMake & Make
### How to start?
1. Clone the repo
```sh
git clone https://github.com/budchirp/cpp-template && cd cpp-template
```
2. Change project name in `CMakeLists.txt`
3. Compile the code
```sh
mkdir build && cd build
cmake .. && make -j$(nproc)
```
> NOTE: If you're using fish, remove the `$` sign.
4. Have fun!
```sh
./PROJECT_NAME
```