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

https://github.com/juzzlin/simplecplusplustemplate

Simple C++ application template with CMake and ClangFormat.
https://github.com/juzzlin/simplecplusplustemplate

clang-format cmake cplusplus cplusplus-17 project-template

Last synced: 2 months ago
JSON representation

Simple C++ application template with CMake and ClangFormat.

Awesome Lists containing this project

README

        

# Simple C++ Template Project

This project is created for my personal use, but someone might find it useful as starting a new C++/CMake project from scratch is always a bit annoying.

Just clone the repository and modify the CMake project files and application code for your own use.

"Features":

* C++17
* CMake
* ClangFormat (`.clang-format` configuration file)
* Code
* main.cpp
* application.hpp / application.cpp
* Simple argument parsing with a placeholder help

## Build (Linux)

```
$ mkdir build
$ cd build
$ cmake ..
$ make
```

## Run

Application that does nothing:

```
$ ./simplecplusplustemplate
```

Placeholder help:

```
$ ./simplecplusplustemplate -h
```

## License

MIT