An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


cpp-template


C++ template for starting your projects faster



Stargazers
Last commit
Issues

## 💾 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
```