3 ms·
The claim that CMake is the least worst C++ build system that we have is pure BS. In my last 3 professional C++ projects I’ve actually used Rust’s cargo tool a
by fluffy87 6y ago
The claim that CMake is the least worst C++ build system that we have is pure BS.
In my last 3 professional C++ projects I’ve actually used Rust’s cargo tool as my build tool for C++ code. Infinitely better than CMake, plus you use Rust as your scripting language for your build system, which has great libraries for it like the cc crate, and pretty much a crate for whatever it is you want to build (eg ispc? no problem).
- Firecracker 6y agoFluffy, could I ask you to give a few more details about how you set this up? Sounds interesting!
- MaxBarraclough 6y agoDoes it support a variety of operating systems and IDEs, the way CMake does? Can it handle package-detection across all those platforms? CMake has a terrible scripting language, but its backends are very good. Being able to generate Unix makefiles when working from GNU/Linux, and then generate Visual Studio solution files when working on Windows, is pretty great.