Skip to content

Meson: Various improvements

Xavier Claessens requested to merge xclaesse/glib-networking:meson-misc into master

commit 215d028f

Meson: Bump version requirement to 0.60.0

Fix all deprecation warnings this causes.

commit 972dbe79

Meson: Use summary() to print enabled modules

Also build a list of modules so parent project can know which one have
been configured.

commit f2b6b9b9

Meson: Add dependencies on static modules

They are not needed to build the static library since it's using only
object files from the shared library, but they are needed to link
against them when used in an application.

commit 74e5c71e

Meson: Remove workaround for a bug fixed a long time ago

commit 2e61e7e6

Meson: Add 'recursive: true' to avoid warning

In our case it makes no difference, but Meson prints warning if we don't
specify that keyword argument.

commit 4d682d50

Meson: Build static modules when default_library is 'static' or 'both'

This makes it closer to the behaviour we would have if using library()
instead of shared_module(). Ideally Meson should allow us to do just
that, see https://github.com/mesonbuild/meson/pull/3361.

When we can depend on Meson >= 0.60 we should mark 'static_modules'
option deprecated.
Edited by Xavier Claessens

Merge request reports