Build config settings¶
This page lists the build configuration settings, that is, the settings you can pass when building the project. Please refer to the Use build config settings and Passing arguments to Meson guides for information on how to use them.
- build-dir¶
By default
meson-pythonuses a temporary build directory. This settings allows to select the Meson build directory and prevents it to be deleted whenmeson-pythonterminates. If the directory does not exists, it will be created. If the directory exists and contains a valid Meson build directory setup, the project will be reconfigured usingmeson setup --reconfigure.The same build directory can be used by subsequent invocations of
meson-python. This avoids having to rebuild the whole project when testing changes during development.For backward compatibility reasons, the alternative
builddirspelling is also accepted.
- dist-args¶
Extra arguments to be passed to the
meson distcommand.
- setup-args¶
Extra arguments to be passed to the
meson setupcommand.
- compile-args¶
Extra arguments to be passed to the
ninjacommand.
- install-args¶
Extra arguments to be passed to the
meson installcommand.
- editable-verbose¶
Enable verbose mode when building for an editable install.