meson_logo Meson

Conan provides different tools to help manage your projects using Meson. They can be imported from conan.tools.meson. The most relevant tools are:

  • MesonToolchain: generates the .ini files for Meson with the definitions of all the Meson properties related to the Conan options and settings for the current package, platform, etc. MesonToolchain normally works together with PkgConfigDeps to manage all the dependencies.

  • Meson build helper, a wrapper around the command line invocation of Meson.

See also

Build a simple Meson project using Conan