aboutsummaryrefslogtreecommitdiff
path: root/doc/Development/meson.asciidoc
blob: 1eb08c6c77c5d56ec6ced4c6d418554b9ed1c436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
==== Setting compiler
Compiler can only be set when initially configuring the build, and cannot be
changed with --reconfigure:

[source, sh]
----
export CXX="ccache clang++"
meson build-path
----

==== Setting linker
[source, sh]
----
build% meson configure -Dcpp_link_args='-fuse_ld=gold'
----

==== Listing build options
[source, sh]
----
build% meson configure
----

==== Changing build options
[source, sh]
----
build% meson configure -D<option-name>=<enabled|disabled>
# for example:
build% meson configure -DPlasma=enabled
----