Why not just good old make? It turns out that Cmake is a higher level thing. It can produce makefiles as I might like. It can also produce files that windows visual studio would like to see, and perhaps it can produce files for some Mac based build system. But the idea is that if you work up a proper Cmake configuration, you can get results with a variety of build systems.
Tom's electronics pages / firstname.lastname@example.org