xmake
cmake-init
Our great sponsors
xmake | cmake-init | |
---|---|---|
163 | 164 | |
8,683 | 1,805 | |
2.3% | - | |
9.9 | 8.1 | |
7 days ago | 6 days ago | |
Lua | CMake | |
Apache License 2.0 | 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.
xmake
- Cpp2 and cppfront – An experimental 'C++ syntax 2' and its first compiler
- An Introduction to Modern CMake
-
How to Structure C Projects: These Best Practices Worked for Me
In recent times I prefer Xmake[0] to CMake.
[0] https://xmake.io
- xmake: Fast and lightweight build tools with dependency package integration
- Xmake v2.8.5 released, Support for link sorting and unit testing
- Xmake v2.8.3 Released, Improve Wasm and Support Xmake Source Debugging
- Xmake v2.8.2 Released, Official package repository count over 1k
- Xmake v2.8.1 Released, Lots of Detailed Feature Improvements
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?
meson - The Meson Build System
conan - Conan - The open-source C and C++ package manager
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
ninja - a small build system with a focus on speed
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
wxWidgets - Cross-Platform C++ GUI Library
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
xtd - Free open-source modern C++17 / C++20 framework to create console, GUI (forms like WinForms) and unit test applications and libraries on Microsoft Windows, Apple macOS and Linux.
dockcross - Cross compiling toolchains in Docker images