Replace Autotools with Meson#186
Conversation
39b21b6 to
ea0e581
Compare
|
Hi. First of all, great work! I had some thoughts about that too... When replacing the Autotools with something else, wouldn't it make sense to go for something like CMake, which is widely supported by most IDEs? Being able to easily import the project into any preferred IDE would definitely be a big plus. Please note that CMake has integrations for Ninja and ccache too, so the build performance would be optimal too (though the synaptic project is relatively small, thus the build time is not so critical (though faster is always nice)). |
|
My take is: CMake is more C/C++ centric while Meson is general purpose and is widely used in Gtk/Gnome applications. |
edd66a9 to
4c46edb
Compare
|
Hi. I'm trying out your branch. Here's my findings so far: EclipseOpening the project on
Qt CreatorOpening and building the project on However General buildingBuilding failed on my environment trying to localize the com.ubuntu.pkexec.synaptic.policy file, due to the /usr/share/gettext/its/polkit.its and polkit.loc files not being installed on the system. To fix that I've installed the libpolkit-gobject-1-dev package and added the following to the root meson.build file (so that there's a clear error in case the dependency is missing): |
|
@amaa-99 Thanks for testing this! I use Gnome Builder and it works w/o any issues. I've just tried to build and run tests in VS Code and it has no issues either.
Side note: if you haven't had it on your system, then how did autotools work for you? (or how does it work on github actions?) 😄 |
|
I've tried VS Code too, and it seems to be the only IDE so far that was able to interpret the meson project decently enough. The Gnome Builder is also one of the few that handles the autotools nicely. About the implicit_include_directories, I guess the parsers on the project import plugins of the IDEs don't take the default values into account. On Eclipse not even that did the job. |
3296d42 to
656ff29
Compare
No description provided.