Re:How to Write Portable C Without Complicating Your Build
by exDM69 on Friday March 31, 2017 @03:46AM
(#14001861)
Yes, I've been using CMake again after a few years of something else. I came back to CMake because it seems to be the build system that sucks the least.
I use CMake with Ninja, which is faster and nicer than plain old Make.
CMake completely falls apart if you're trying to do anything else than normal user space applications that link with commonly used libraries. Some years ago I tried building a bare metal project with CMake and the job got done but the experience was atrocious.
But CMake really shines in building "normal" applications and in particular cross compiling them.
I use CMake with Ninja, which is faster and nicer than plain old Make.
CMake completely falls apart if you're trying to do anything else than normal user space applications that link with commonly used libraries. Some years ago I tried building a bare metal project with CMake and the job got done but the experience was atrocious.
But CMake really shines in building "normal" applications and in particular cross compiling them.