CppTemplate
cmake-examples
CppTemplate | cmake-examples | |
---|---|---|
5 | 25 | |
4 | 12,014 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | 3 months ago | |
CMake | CMake | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CppTemplate
-
I find the hardest part of learning C/C++ is not the syntax or memory management, but linking files to build an executable. How can I improve?
Here is my Catch2 (unit testing framework) example if your interested.
-
Fastest way to setup a raylib project
I’ve got this basic template that helps setup GCC on window and has a CMake project example for raylib that should work with all compliers and platforms (hasn’t been tested extensively).
-
I'm using Visual Studio Code as my editor but how can I compile and build a project with a multiple folders/files?
I’m got a basic C++ CMake template on my GitHub that you can have a look at. Happy to answer any questions about it.
-
setting up vscode task.json file for C/C++ builds on Windows & Linux
I agree with /u/the_poope, Cmake and VSCode is probably the best bet. I have a template that might help you get started.
-
How to setup g++ compiler in windows
I have made a CppTemplate repo on GitHub. It has instructions on how to get MinGW working and cmake. Let me know if you have any issues.
cmake-examples
-
Anyone else get frustrated when a block of time you wanted to spend to learning code instead goes into why some software isn’t working right on your computer?
The downside for CMake is that it’s famously crappy in its own way and the internet is full of bad examples. This isn’t terrible: https://github.com/ttroy50/cmake-examples/blob/master/01-basic/H-third-party-library/CMakeLists.txt
- Thom Troy's CMake examples.
-
confusion when trying to understand the use cases of dynamic and static libraries
I found a github repo I'm going to use as tutorial: https://github.com/ttroy50/cmake-examples
-
Please review my code (2.0)
And one of the best ressources ever to get started with Cmake is this repo: https://github.com/ttroy50/cmake-examples
- help with making a cmake file
- How do I link fmt library to my project?
-
CMAKE for Beginners
I would recommend having a look at this repository
- Using Visual Studio for Cpp Dev
-
IDE recommendations and usage
For projects with external dependencies, I suggest starting with a lightweight editor like Atom, Sublime Text or VSCode without plugins. Try building with command line CMake, see here for some basics: https://github.com/ttroy50/cmake-examples
- Issues setting up environment on Linux Ubuntu
What are some alternatives?
cmake-init - The missing CMake project initializer
utility-boilerplate-qt - 🚀Boilerplate for C++ utility application based on Qt5
raylib-game-template - A small template to start your raylib game
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
Google Test - GoogleTest - Google Testing and Mocking Framework
CMake - Mirror of CMake upstream repository
pybind11 - Seamless operability between C++11 and Python
cmake-catch2-example - A simple hello world example CMake C++ project that uses Catch2 test framework.
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
FetchBoostContent - CMake FetchContent for Boost libraries