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.
- Host: GitHub
- URL: https://github.com/juzzlin/simplecplusplustemplate
- Owner: juzzlin
- License: other
- Created: 2022-09-03T07:35:34.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T08:19:38.000Z (over 2 years ago)
- Last Synced: 2024-12-31T21:42:45.164Z (4 months ago)
- Topics: clang-format, cmake, cplusplus, cplusplus-17, project-template
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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