tcashel / CppStartHere

C++17 project environment using cmake to get off and deving quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Project Starting Point

C++17 project environment using cmake to get off and deving quickly.

Getting started

git clone --recurse-submodules https://github.com/tcashel/CppStartHere

This project has the Catch2 testing framework in a git submodule which is why we use the --recurse-submodules flag.

General Info

I found the following sources helpful:

I also found using the cmake command target_include_directories much more helpful than using include_directories. Using include_directories when including the headers for Catch2 applies your project's compiler flags to the Catch2 project, which casues issues if you are using stricter error reporting.

Ongoing

I will be adding to this project as I have time, some things I want to add:

  • cmake ExternalProject_Add() some projects from GitHub
  • add some more external non standard libraries
  • make the test and main files better

About

C++17 project environment using cmake to get off and deving quickly.

License:MIT License


Languages

Language:CMake 82.6%Language:C++ 15.4%Language:Objective-C 1.1%Language:Shell 0.9%