cmake-init
cmkr
cmake-init | cmkr | |
---|---|---|
164 | 13 | |
1,866 | 412 | |
- | 10.5% | |
8.1 | 7.5 | |
about 2 months ago | 7 days 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
cmkr
- Cmkr – a modern build system based on CMake and TOML
-
cgen: another declarative CMake configuration generator
Been using https://cmkr.build/ for a while now, its great and also declarative.
-
Best practice for cpp projects using CMake
I would like to counter with a project I’ve been working on: https://cmkr.build. Unfortunately writing good CMake is extremely repetitive and there is definitely room for a generator that has sane defaults.
-
How Visual Studio Became Unusable to Me
You are trying to use it the wrong way it seems, the point of CMakeLists.txt is that you only maintain that and nothing else. If you have changes in there then it will re-generate the project for you when it starts building. Adding files via IDE is not supported and is not really the point, there used to be a time where I primarily worked with VS solutions but the more I dove into the open source space the more it became clear that its the worst way of doing it. You just have to get used to a different workflow, the benefit is that your project can be in theory now compiled on all sorts of systems and not just with VS. If CMake is too much to handle perhaps give https://cmkr.build/ a try, it hides a lot of the CMake madness behind its toml specification, been using it for a while now, its great.
- Cmkr: Modern build system based on CMake and TOML
-
What about a CMake transpiler?
https://cmkr.build/ its pretty straight forward and been using it for some time now, can only highly recommend it.
-
On which hobby or side projects are you working on?
Currently working on https://github.com/build-cpp/cmkr
-
Thoughts on build systems?
I started working on https://github.com/build-cpp/cmkr to remedy this, but other similar solutions exist.
-
CMake Template and Simple Tutorial for VS Code C++
I invite you to take a look at https://github.com/build-cpp/cmkr, it makes this even easier ^
-
What are you working on lately?
I’ve been working on cmkr, a modern build system based on CMake and TOML.
What are some alternatives?
meson - The Meson Build System
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
xmake - 🔥 A cross-platform build utility based on Lua
cmake-init-clang-on-windows - Using LLVM Clang on Windows with CMake
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
LMRTFY - Let Me Run That For You: A C++20 Thread Pool Library
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
Ecosystem - You play God
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
kangaru - 🦘 A dependency injection container for C++11, C++14 and later