I've been seeing more embedded developers using cmake as a build configuration tool for their bare-metal (i.e. no operating system) embedded systems. But while cmake is great for projects that will run natively on various host architectures, what value does it add over a Makefile in an embedded system, where there is no operating system and the target processor does not change?
EDIT: What advantages does CMake provide over a simple Makefile in cases where the code is designed specifically for one embedded processor / board, which is running bare-metal (i.e. no operating system, at least not a POSIX one)?
I have used Cmake for cross-compiling to embedded systems: it's a very useful tool if you are cross-compilig as well as for native development. Here are some advantages i appreciate for this:
There are many tools around, but cmake is perfect if you need an easy to use, but very powerful one.
Ps. Can you describe your scenario a bit more?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With