[Mesa-dev] [PATCH] docs: add documentation for building with meson

Nicholas Miell nmiell at gmail.com
Wed Oct 18 18:45:19 UTC 2017

On 10/17/2017 12:21 PM, Dylan Baker wrote:
> +<p>
> +To see a description of your options you can run "meson configure". This will
> +show your meson project configuration options as well as your local
> +configuration options. One meson option to be aware of is that meson's default
> +build type is "debug" (-O0 -g on gcc/clang).
> +</p>
> +
> +<pre>
> +    meson configure build
> +</pre>
> +

There should probably be a warning here about how there's no way to 
export a build configuration and how every minor or point update of 
meson requires you to delete your build directories and reconfigure 
everything from scratch.

Also how user-supplied C/C++ flags get merged in with Meson's idea of 
what the flags should be with the debug/debugoptimized/release 
configurations and if you want complete control of the build flags you 
should use the "plain" build type.

More information about the mesa-dev mailing list