diff options
Diffstat (limited to 'doc/Development/meson.asciidoc')
-rw-r--r-- | doc/Development/meson.asciidoc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/Development/meson.asciidoc b/doc/Development/meson.asciidoc new file mode 100644 index 0000000..1eb08c6 --- /dev/null +++ b/doc/Development/meson.asciidoc @@ -0,0 +1,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 +---- + |