4 ms·
yet another make replacement the world really doesn't need Didn't it start exactly like that with CMake? Turns out, the world needed it.
by pestaa 15y ago
yet another make replacement the world really doesn't need
Didn't it start exactly like that with CMake? Turns out, the world needed it.
- ajross 15y agocmake is a replacement for autotools, not make. It generates makefiles as output.
- pestaa 15y agoGood point, although if autotools was invented to replace makefiles by generating them, I'd argue CMake was too, even if indirectly.
- gnok 15y agoI don't quite think autotools were invented to replace Makefiles. Autoconf and friends _configure_ the build environment by discovering locations of dependencies, feature sets, available compilers and build tools and other build conditions. This information is then used to generate the appropriate Makefile. Makefiles solve a different problem; which is of local build dependencies, looking for changes, packaging and suchlike. CMake, as it happens, was written because Autotools were particularly ineffecient at the configuration problem. Make happens to be very efficient.