catarinacps / cpp-template

My cool and distinguished C++ project template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Henrique’s cool C++ project template

So my idea here is to for once help myself and maintain a repository with a blank C++ project so when I start, for example, an assignment I can just clone this and copy everything inside to just start coding.

Project structure

I’ve structured the template according to the following directories:

cpp-template/
The main executable sources and headers directory. Here lies all .cpp files, organized inside this folder in sub-folders if the source-code belongs to a module or namespace.
bin/
The executables directory. Here is the final resting place of the project targets.
build/
The CMake build directory, in which rests all CMake generated stuff.
cmake/
Folder that keeps any CMake finder functions and such.

Build

Building is just your common CMake shenanigans:

cd build/
cmake ..
make

To-dos

  • [X] Learn CMake
  • [ ] Start to use Conan or whatever

About

My cool and distinguished C++ project template.

License:MIT License


Languages

Language:CMake 100.0%