[Mesa-dev] [PATCH] docs: add documentation for building with meson
Dylan Baker
dylan at pnwbakers.com
Wed Oct 18 22:08:32 UTC 2017
Quoting Nicholas Miell (2017-10-18 11:45:19)
> 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.
I can add something about setting -Ox and -g options should be used with
--buildtype=plain
Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171018/f77f74b9/attachment.sig>
More information about the mesa-dev
mailing list