-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Meson build system #69
base: master
Are you sure you want to change the base?
Conversation
Hi How about writing a manual what this PR does and why ? Thanks |
I suggest to split new build system from related changes like [BX_USE_RAW_SERIAL] |
The patch is work in progress, I tested it only on Linux and only with the default options. Currently it can coexist with autotools, but I expect that in the future autotools will be retired. If you think that cmake is more suitable for you I can add cmake instead. Btw, are all these options really necessary? E.g the xxx_smf? I spent more time on these options than I spent for the rest of the stuff 😒. Also, is it possible bump the requirements to at least C++11? |
Well, I am involved in a similar project of converting autotools to meson in Nix: https://github.com/AndersonTorres/rfcs/blob/meson-builds-nix/rfcs/0132-meson-builds-nix.md Summarizing:
In tandem with Ninja (all platforms) or generating project files for Xcode and VSC++. It can be easy as
It can coexist without interferences. Maybe for projects that download things while building it can be a bit restrictive because it requires all artifacts to be inside On the other hand, it can easily substitute autotools. |
I think Autotools is old and inconvenient enough to be replaced by something. Probably it make sense to get comparison from person who knows all 3 build systems.
I doubt coexisting is a good choice. |
I am not arguing for coexistence.
With some luck, Meson can generate the MSVC fileset. It reduces 2 to 1. |
Well...
Absolutely. The thing about coexistence is that when you have an existing build system it is usually considered unwise to remove it until you know the replacement is complete, It is somewhat common for projects migrating between build systems to implement a new one, mark the old one as deprecated, and prepare to drop the old one after a couple months, or after one release, or something like that. The idea is that this gives people a chance to try the new one and verify that it handles everything needed, before removing the setup that people were depending on. While there is some reason for projects to want multiple build systems, this is typically limited to the libraries use case, and only to facilitate embedding, not as the primary build system. This isn't really something that autotools or Visual Studio support anyway. |
I was talking about final goal (stable state), not about how it will be achieved (transition state). |
Meson it a cross platform modern build system, it's used by quite a few projects to migrate from autotools (most of xorg projects, gnom(including GTK [mm], postrges, etc.).
Closed: #7