Speed
Meson is designed to be fast. It optimizes the build process to ensure efficient and rapid compilation, which can save considerable time in large projects.
Ease of Use
Meson uses a simple syntax that is easy to learn and understand, making it accessible for both new and experienced developers.
Cross-Platform Support
Meson supports multiple platforms including Linux, Windows, and macOS, allowing for consistent build processes across different operating systems.
Ninja Backend
Meson uses Ninja as its backend build system, which is known for its efficiency and speed, particularly in incremental builds.
Dependency Management
Meson has built-in support for handling dependencies, making it easier to manage complex projects with multiple libraries.
Modern Language Support
Meson is designed to support modern programming languages such as C, C++, Fortran, and Rust, as well as many others.
Extensibility
Meson allows for custom build definitions and extensions, providing flexibility to address specific needs and workflows.
Meson is generally considered a good choice for developers who are looking for a fast and efficient build system. Its ease of use and comprehensive support for various platforms and languages make it a strong alternative to more traditional systems.
We have collected here some useful links to help you find out if Meson is good.
Check the traffic stats of Meson on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Meson on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Meson's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Meson on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Meson on Reddit. This can help you find out how popualr the product is and what people think about it.
Just like most open source projects, systemd is never โfinishedโ and there is always more that can be done to improve things. Though the project already maintains a high quality bar and is very robust, the maintainers wanted some help adding extra test coverage and finding edge cases, particularly in the resolved component. The project uses the Meson build system, which can be configured to output code coverage... - Source: dev.to / 4 months ago
Actually looks very similar to Meson [https://mesonbuild.com/], which is getting a lot of traction in FOSS [https://mesonbuild.com/Users.html]. - Source: Hacker News / 3 months ago
Iโm still surprised how people ignore Meson: https://mesonbuild.com/ And Mesons awesome dependency handling: https://mesonbuild.com/Dependencies.html https://mesonbuild.com/Using-the-WrapDB.html#using-the-wrapdb After reading about GNU Autotools (help!) and suffering ever awful thing Java created I wondered if C/C++ could do better. They do. For years :). - Source: Hacker News / 4 months ago
Than checked Autotools and shared the head. At the very same time Meson[1] appeared and the thing with Builds is solved :) [1] https://mesonbuild.com. - Source: Hacker News / about 1 year ago
With cargo-c I try to use the best practices to support as many platform as possible, trying to stay in sync with what meson does. Sadly what is conceptually trivial, installing a package, has lots of details that are platform-specific. - Source: dev.to / almost 2 years ago
I went to mesonbuild.org and it doesn't match the description (some sort of betting site? I didn't stick around ...), and a search turned up: https://mesonbuild.com/. - Source: Hacker News / over 2 years ago
Came here to post the same. The answer for How to build software? is Meson[1] for C and C++ and also other languages. Works well on Windows and Mac, too. Iโve written a small Makefile to learn the basic and backgrounds. Make is fine. But the next high-level would have been Autotools, which is an intimidating and weird set of tools. Most new stuff written in C/C++ use now Meson and it feels sane. [1]... - Source: Hacker News / almost 3 years ago
If you are very fortunate, you'll be able to choose something else. I like meson myself: it looks a bit like python, it's popular, small, simple, well-documented, easy to install and update, and it works well everywhere. Source: almost 3 years ago
I suggest changing the build tool. Meson improved C and C++ a lot: https://mesonbuild.com/ The dependency declaration and auto-detection is nice. But the hidden extra is WrapDB, built-in package management (if wanted):- Source: Hacker News / almost 3 years agohttps://mesonbuild.com/Wrap-dependency-system-manual.html.
> C's only REAL problem (in my opinion) which is the lack of dependency management. Most everything else can be done with a makefile and a half decent editor. Care to hear about our lord and saviour Meson? Both of your quoted problems are mutually incompatible: dependency management isn't the job of the compiler, it's a job for the build or host system. If you want to keep writing makefiles, be prepared to write... - Source: Hacker News / almost 3 years ago
Other people going down this route seem to end up writing cmake replacements instead. I'm thinking of something like meson here except that meson never intended to transpile to cmake. Source: about 3 years ago
Meson is probably the closest we'll ever get to such a thing, it's kinda declarative and has WrapDB as a dependency repository. Source: about 3 years ago
Historically when you're building software you need to install it before you can run it. A while back Meson added support for development environments (aka devenv's). These allow us to run pidgin3 and finch3 from the build directory without installing, which saves a TON of development time! - Source: dev.to / about 3 years ago
That's basically just Meson; it even has support for pulling in cmake projects. Source: over 3 years ago
This post will focus on building this same code using Meson. Meson focuses on simplicity, is a build system generator, but has a concept of back-ends where it can generate whatever the back-end defines. Together with the backend creates a featureful build system. Currently, the default back-end is the fabulous ninja on the Linux platform. Ninja is a command runner that is extremely fast compared to something like... - Source: dev.to / over 3 years ago
CMake is unfortunately the current de-facto standard so knowing at least the basics will be necessary at some point. However especially for your personal projects you can also just use one of the more modern and sane alternatives, for example Meson. Source: over 3 years ago
Zig's potential is that it is pretty easy to write cross-platform code with it. Normally writing cross-platform code involves using a cross-compiler setup where you write code that targets another platform that's different than your host system. It requires using compilers that have ABIs of the target system, which is not something many have readily available. Sometimes you're often left having to do this yourself... - Source: dev.to / over 3 years ago
As a comparative example, https://mesonbuild.com includes builtin functionality to generate a pkg-config file, with a global setting to select whether to use relocatable paths (necessary because on Linux when installed in /usr it is bad to use ${pcfiledir}/../../). Source: over 3 years ago
To build any and all of these without affecting your source directory. I usually wrap all the useful configurations in a Makefile-like shell script. [1]: https://mesonbuild.com/. - Source: Hacker News / over 3 years ago
Well first, you probably want some sort of build system. It looks like you're on linux - I recommend Meson build (https://mesonbuild.com/) - it plays really well with small projects like this. But more importantly, it will create compile_commands.json which VSCode can use for autocomplete. Source: over 3 years ago
The current de-facto standard build system for C++ is CMake so in theory if you were to write a library then most people would be able to consume it if you use that and at some point you will encounter it so knowing a bit about it is useful. However CMake also has several downsides, the major one being the terrible, ugly, and clunky shit syntax. The tutorials/documentation situation is also not really good,... Source: almost 4 years ago
Do you know an article comparing Meson to other products?
Suggest a link to a post with product alternatives.
Is Meson good? This is an informative page that will help you find out. Moreover, you can review and discuss Meson here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.