3 ms·
Meson is excellent and would have eaten CMake out of house and home if it weren’t for the stupidity of it targeting C/C++ but being written in Python. A lot of
by ComputerGuru 7y ago
Meson is excellent and would have eaten CMake out of house and home if it weren’t for the stupidity of it targeting C/C++ but being written in Python. A lot of C/C++ developers cringe at the thought of requiring Python as a build dependency.
- boris 7y agoYou may want to check build2[1] then. As a bonus you also get a Cargo-like package/project manager (but with a real build system underneath). Full disclosure: I am involved with the project. [1] https://build2.org https://build2.org
- pjmlp 7y agoGradle, implemented in a mix of Java and Groovy Maven, Ant, implemented in Java Sbt, implemented in Scala Leinigen, implemented in Clojure MSBuild, implemented in a mix of C++ and C# Gems, implemented in Ruby eggs, implemented in Python cargo, implemented in Rust Why should it be any different for C and C++? So vcpkg it is.
- ComputerGuru 7y agoComplete aside: I often find myself agreeing with contrarian or somewhat contentious dev-related posts here and on GitHub (I’m mqudsi there), look to the name of the author, and see yours. (I’m not sure why I decided to share this right now. Sorry.)
- radarsat1 7y agoFor me at least, using Python is the least of my concerns, in fact I like Python so having the build system in a familiar language instead of some esoteric DSL would be wonderful. Unfortunately SCons was too slow and had its own problems, but it wasn't a bad idea imho. That said one thing I like about autotools is how it generates a build system that doesn't depend on more than shell script and make, and can be packaged that way. It's annoying that CMake produces a build system that requires CMake to be present to build.
- ComputerGuru 7y agoI actually philosophically minded SCons less than meson as the former never pretended to be a build system that just happened to require Python as a minor detail to gloss over or wishfully pretend didn’t matter; it put it out there front and center.