Skip to content

Comparisons

jpakkane edited this page Sep 15, 2014 · 8 revisions

Comparing Meson with other build systems

A common question is Why should I choose Meson over a different build system X? There is no one true answer to this as it depends on the use case. Almost all build systems have all the functionality needed to build medium-to-large projects so the decision is usually made on other points. Here we list some pros and cons of various build systems to help you do the decision yourself.

GNU Autotools

Pros

Excellent support for legacy Unix platforms, large selection of existing modules.

Cons

Needlessly slow, complicated, hard to use correctly, unreliable, painful to debug, ununderstandable for most people, poor support for non-Unix platforms (especially Windows).

CMake

Pros

Great support for multiple backends (Visual Studio, XCode, etc).

Cons

The scripting language is cumbersome to work with. Some simple things are more complicated than necessary.

SCons

Pros

Full power of Python available for defining your build.

Cons

Slow.

Meson

Pros

The fastest build system [see measurements](Performance comparison), user friendly, designed to be as invisible to the developer as possible.

Cons

Relatively new so it does not have a large user base yet, and may thus contain some unknown bugs. Visual Studio and XCode backends not as high quality as Ninja one.

Meson documentation has moved

All documentation is now on the main web site.

This page should be at this address.

Clone this wiki locally