prorab
cmake-init
prorab | cmake-init | |
---|---|---|
7 | 164 | |
25 | 1,827 | |
- | - | |
7.1 | 8.1 | |
7 days ago | 13 days ago | |
Makefile | CMake | |
MIT License | GNU General Public License v3.0 only |
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.
prorab
-
what's the hate for CMake all about? Is CMake really that bad?
Take a look at https://github.com/cppfw/prorab it is a framework for simplifying makefiles, perhaps with it your makefiles will be shorter than CMake files.
-
prorab: non-recursive GNU make build system
actually, I think what might be reasonable to do is to add a check into prorab.mk that it is run with GNU make. Created issue https://github.com/cppfw/prorab/issues/69
-
C/C++ build system, I use xmake
same here, plus https://github.com/cppfw/prorab
-
What testing and project management tools are most used in the industry
In case you decide to go with pure GNU make I can suggest a non-recursive makefiles template library https://github.com/cppfw/prorab.
-
I am trying to replace CMake with c++
The only thing is that my own build system is GNU make-based, so it's syntax is also not easy :P.
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
What are some alternatives?
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
meson - The Meson Build System
xmake-vscode - 🍩 A XMake integration in Visual Studio Code
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
cmakesl - An attempt to introduce a new scripting language for CMake
xmake - 🔥 A cross-platform build utility based on Lua
Sharpmake - Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
HMake - C++ build system that uses C++ for build configuration.
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain