cmake-init
ModernCppStarter
Our great sponsors
cmake-init | ModernCppStarter | |
---|---|---|
164 | 6 | |
1,812 | 4,048 | |
- | - | |
8.1 | 4.3 | |
5 days ago | 5 days ago | |
CMake | CMake | |
GNU General Public License v3.0 only | The Unlicense |
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.
cmake-init
-
CMake install schema for single- and multi-config generators
https://github.com/friendlyanon/cmake-init This is how you do CMake properly. If you deviate from its install rules you are highly likely to do something wrong.
-
cgen: another declarative CMake configuration generator
CMake itself is as declarative as a build systems need to be. For anything nontrivial, these "declarative" solutions all fall apart. Just use https://github.com/friendlyanon/cmake-init, learn CMake and you won't have any issues.
-
How does one actually build a C++ project
If you want something with a (mostly) Just Works experience then just use https://github.com/friendlyanon/cmake-init
- CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories
- Check out my tasks.json for C++ of VScode
- Clang++ Halp
-
Putting libraries in program folder
For CMake basics check out the official "Getting started" tutorial: https://cmake.org/cmake/help/latest/guide/tutorial/index.html, as well as Introduction to Modern CMake. You can also get inspired by the CMake project generator cmake-init
- Recourses to help understand libraries/projects and setting them up?
-
How to Create a Modern C Project with CMake and Conan
You can just use https://github.com/friendlyanon/cmake-init to get a CMake + Conan C project ready to go with a short little command: cmake-init --c -e -p conan coolio
- CMake template
ModernCppStarter
-
Collecting the best C++ practices
ModernCppStarter. Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
-
Is Using Project-Templates A Good Thing For Understanding CMake Better?
I really want to understand CMake in a deeper way. Recently, I have found many project templates like this one: https://github.com/TheLartians/ModernCppStarter. Is using theses templates a good idea to understand how to use CMake very well in a bigger project? Or what alternatives are there? Can anyone recommend good resources, which are the current best practice in these cases. Thank you in advance.
-
Recommendations for modern C++ project structures
https://github.com/TheLartians/ModernCppStarter if you need a template project structure
-
ConorWilliams/ConcurrentDeque
Nice. Sounds good. I'll see if I can make it work with https://github.com/TheLartians/ModernCppStarter if there's any issues I'll make you a PR.
-
Looking for a CMake Guru
Have a look here https://github.com/TheLartians/ModernCppStarter - this project uses author's own CPM cmake-based package manager which is easy to use (for projects written with cmake). It's a nice starting point.
-
Cmake Skeleton?
I think this one is pretty good: https://github.com/TheLartians/ModernCppStarter
What are some alternatives?
meson - The Meson Build System
gui_starter_template - A template CMake project to get you started with C++ and tooling
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
cmake-git-version-tracking - Embed Git metadata in a C/C++ compatible static library using CMake (e.g. commit ID, author, date, and message).
xmake - 🔥 A cross-platform build utility based on Lua
cpp-project - Boiler plate template for C++ projects, with CMake, Doctest, Travis CI, Appveyor, Github Actions and coverage reports.
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
cmake-examples - Useful CMake Examples
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
cmake-sfml-project - Repository template for SFML projects using CMake
dockcross - Cross compiling toolchains in Docker images
cpp-template - A C++ template for getting started with new projects