3 ms·
Nit picking. From the article: > Popular C/C++ alternative build systems are SCons, CMake, Bazel, and Ninja. CMake is not a build system. It's a build system
by roqi 3y ago
Nit picking.
From the article:
> Popular C/C++ alternative build systems are SCons, CMake, Bazel, and Ninja.
CMake is not a build system. It's a build system generator. A higher level abstraction over the problem of specifying projects, which greatly simplifies the work of creating and maintaining them. Once a CMake project is created, it is then used to create the actually build system. Originally it was mainly Makefile, but nowadays it also supports Ninja, Xcode, and Visual Studio. I'm sure that if there is any interest cmake could also be updated to generate other build systems.
- aidenn0 3y agoArguably CMake is a build system; as a user you can build your project only by running CMake commands. The fact that it will run e.g. ninja or make under-the-hood can be ignored for many use-cases.
- roqi 3y ago> Arguably CMake is a build system; as a user you can build your project only by running CMake commands. If you put together a shell script that calls some other program that runs a build, that doesn't make shell script a build system. > The fact that it will run e.g. ninja or make under-the-hood can be ignored for many use-cases. You can't, though. Some features are only available on projects generaded by cmake for specific build systems.