cmake-init
pitchfork
Our great sponsors
cmake-init | pitchfork | |
---|---|---|
164 | 9 | |
1,812 | 998 | |
- | - | |
8.1 | 0.0 | |
7 days ago | almost 3 years ago | |
CMake | C++ | |
GNU General Public License v3.0 only | 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.
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
pitchfork
-
Best practice for cpp projects using CMake
Just use cmake-init which sets you up with a variation of the pitchfork layout.
-
Pitchforks: A (de facto) Standard Project Layout for C / C++ projects
Link broken, should be https://github.com/vector-of-bool/pitchfork
-
I'm getting deeper in C++
I use a variation of thispitchfork github layout. I have found it a very useful structure for my projects. As for file names, I always have only one class per file with the file name matching the class name exactly.
-
What's a good resource for learning project architecture ?
Take a look at the pitchfork standard - a lot of projects follow this convention today: https://github.com/vector-of-bool/pitchfork
-
C++ Meson build project template review.
Consider using the pitchfork layout convention
-
Where to put C++ headers and libraries?
This is what I was directed to in regards to this question and what I use to organise structure. I was told it's a good starting point so not sure if there is something better out there. https://github.com/vector-of-bool/pitchfork
- Suggestions for Best Books to Master C++
- c++ terminal program to create projects
-
How would I build a project with cmake?
A while ago I stumbled upon this pitchfork project layout, But for simple projects I have just one CMakefile with the few sources in one project inside. If this grows, I use this and put it in a subfolder of the new project and add_subdirectory it...
What are some alternatives?
meson - The Meson Build System
modern-cmake
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
meson_prog_cpp - Trilobite Coder - (Meson build project for C++ application development)
xmake - 🔥 A cross-platform build utility based on Lua
pitchforkhttps:
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
cmake_conan_boilerplate_template - Minimized version of cpp_starter_project
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
moderncpp-project-template - A Modern C++ cross-platform Project Template with CMake, conan (optional), cppcheck (optional) and clang-format (optional)
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
snek - the toolchain armada