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 Using build config settings and Passing arguments to Meson guides for information on how to use them.
- build-dir¶
By default
meson-python
uses a temporary build directory. This settings allows to select the Meson build directory and prevents it to be deleted whenmeson-python
terminates. 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
.For backward compatibility reasons, the alternative
builddir
spelling is also accepted.
- dist-args¶
Extra arguments to be passed to the
meson dist
command.
- setup-args¶
Extra arguments to be passed to the
meson setup
command.
- compile-args¶
Extra arguments to be passed to the
ninja
command.
- install-args¶
Extra arguments to be passed to the
meson install
command.
- editable-verbose¶
Enable verbose mode when building for an editable install.