aboutsummaryrefslogtreecommitdiff
path: root/doc/Development/meson.asciidoc
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-11-28 12:39:14 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-11-28 12:39:14 +0100
commit0b9cf8c968a89784b5c2b8afe1a819b33749165e (patch)
tree7153fc8fe5447ee710ce689352db6e0e3b8849cc /doc/Development/meson.asciidoc
parentAdd Session::view and Session::restoreView (diff)
downloadsmolbote-0b9cf8c968a89784b5c2b8afe1a819b33749165e.tar.xz
Rewrite Session saving and loading
Diffstat (limited to 'doc/Development/meson.asciidoc')
-rw-r--r--doc/Development/meson.asciidoc30
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
+----
+