Skip to content

New variant for selecting the Visual Studio CRT and bump meson to 0.54

Nirbheek Chauhan requested to merge nirbheek/cerbero:bump-meson-0.54 into master

commit d120bb25:

Add a new variant type for mappings for Visual Studio CRTs
You can now specify variants that are key-value pairs by specifying
`variant=value` as the variant, f.ex., the first mapping-variant is
`vscrt`:

$ cerbero-uninstalled -v vscrt=mdd package gstreamer-1.0

`md` is the default, aka release CRT, and `mdd` is the debug CRT.

The main advantage of this is to be able to use the debug CRT and also
build with optimizations enabled, since the only other way to link to
the debug CRT is by setting `--buildtype=debug`, which disables
optimizations.

This is useful when debugging, for example, Qt apps since it allows
you to link to the debug Qt libraries without making your gstreamer
code unusably slow by disabling all optimizations.

Note that code built with MinGW will still always use the release CRT,
but since this is for debugging, that should be fine.

commit 41a1293f:

meson.recipe: Pick debug qt libs based on b_vscrt
Upstream PR: https://github.com/mesonbuild/meson/pull/6896

commit e4910977:

cerbero: Use separate prefix when building with debug CRT

commit b9a2342f:

cerbero: Fix package naming when building with debug CRT

commit 79427e7e:

meson.recipe: Bump to 0.54.0

Tested on all platforms.

Edited by Nirbheek Chauhan

Merge request reports