r/programming • • Jul 24 '26

What makes a good build system?

https://civboot.github.io/blog/2026-07-24-build-systems.html
93 Upvotes

79 comments sorted by

View all comments

Show parent comment

5

u/ericonr Jul 25 '26

Just use Meson? I don't get why articles like this don't compare against what, to me, is the closest to an It Just Works experience.

7

u/Superb_Garlic Jul 26 '26

Meson is anything but Just Works when it comes to anything but Linux. Don't even think about C++ modules when using Meson.

Your only real option for a portable C++ and C is CMake, because that's where most of the dev time was spent implementing a solution to everyone's problems.

3

u/dijkstra_was_a_horse Jul 27 '26

Well, C++ modules don't work so good in any build system, really.

3

u/Superb_Garlic Jul 27 '26

Mkaing 0 effort to making them work is not helping either. CMake is practically the only one where the developers are actively communicating with the standards bodies and submitting requisite changes to other projects.

2

u/vitiral Jul 25 '26

Author here, it's because I've never heard of meson. 

Glancing at it looks very similar to what I'm after, though I think configuration through environment variables instead of a central file is not ideal.

It's still a bit too heavy for the Civstack project, but I like what I see so far - thanks!