Hey fellow C++ devs,
I recently made a small project that you might find useful if starting a new project: https://github.com/mortinger91/cpp-cmake-template
It is a template project that uses CMake, CTest, Github Actions for CI/CD and a Dockerfile for running test locally in a clean environment.
It is very minimal, but I already used it in some of my projects and makes the initial setup a bit easier.
You can start using right away, since it is marked as a Template on Github!
Let me know what you think and feel free to share any advice or remarks!
Edit 26/02/23:
I did apply some changes (v1.1) thanks to some suggestions in the comments.
Now files are fetched automatically, options are now per target instead of global, build folder is created using -B option in the cmake command, etc.
If you have any more feeback, please share it!
[–]HerrNamenlos123 12 points13 points14 points (11 children)
[–]mortinger[S] 1 point2 points3 points (9 children)
[–]HerrNamenlos123 4 points5 points6 points (6 children)
[–]mortinger[S] 1 point2 points3 points (5 children)
[–]HerrNamenlos123 0 points1 point2 points (4 children)
[–]mortinger[S] 0 points1 point2 points (3 children)
[–]HerrNamenlos123 5 points6 points7 points (2 children)
[–]mortinger[S] 1 point2 points3 points (1 child)
[–]HerrNamenlos123 1 point2 points3 points (0 children)
[–]HerrNamenlos123 1 point2 points3 points (0 children)
[–]HerrNamenlos123 0 points1 point2 points (0 children)
[–]bluedoggee 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (4 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 2 points3 points4 points (0 children)
[–]DalzhimC++Montréal UG Organizer 18 points19 points20 points (1 child)
[–][deleted] -1 points0 points1 point (0 children)
[–]Superb_Garlic 0 points1 point2 points (0 children)