Lines Matching full:meson

4 === Infrastructure for Meson-based packages
6 [[meson-package-tutorial]]
8 ==== +meson-package+ tutorial
10 http://mesonbuild.com[Meson] is an open source build system meant to be both
15 Let's see how to write a +.mk+ file for a Meson-based package, with an example:
40 23: $(eval $(meson-package))
46 On line line 23, we invoke the +meson-package+ macro that generates all the
50 +FOO_DEPENDENCIES+ at line 14 because the Meson build file of +foo+ uses
53 Note that it is not necessary to add +host-meson+ in the +FOO_DEPENDENCIES+
55 needed by the Meson package infrastructure.
63 To sum it up, to add a new meson-based package, the Makefile example can be
68 [[meson-package-reference]]
70 ==== +meson-package+ reference
72 The main macro of the Meson package infrastructure is +meson-package+. It is
74 packages is also available, with the +host-meson-package+ macro.
76 Just like the generic infrastructure, the Meson infrastructure works by defining
77 a number of variables before calling the +meson-package+ macro.
80 infrastructure also exist in the Meson infrastructure: +FOO_VERSION+,
84 A few additional variables, specific to the Meson infrastructure, can also be
89 package that contains the main meson.build file. This is useful,
90 if for example, the main meson.build file is not at the root of
95 +meson+ for the configuration step. By default, empty.
97 * +FOO_CONF_OPTS+, to specify additional options to pass to +meson+ for the
113 to add to the `[binaries]` section of the meson `cross-compilation.conf`
120 properties to add to the `[properties]` section of the meson
129 +ninja+, meson companion tool in charge of the build operations. By default,