Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-03-04 13:49:00 +0300
committerRobert Adam <dev@robert-adam.de>2021-03-06 20:57:22 +0300
commit55206eff33fd3af2b158b45dac840ba452e60dab (patch)
tree51f7f3738e6b1c08508b2ca77b71414b6c5df3d5
parentaf7245c06d11d746ce69c48081dd8e838ae3ca41 (diff)
DOCS: Mention unity builds
-rw-r--r--docs/dev/build-instructions/faq.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/dev/build-instructions/faq.md b/docs/dev/build-instructions/faq.md
index a63b54dd2..f8d22c905 100644
--- a/docs/dev/build-instructions/faq.md
+++ b/docs/dev/build-instructions/faq.md
@@ -1,5 +1,13 @@
# Build FAQ
+### How to speed up the compilation
+
+Mumble supports being compiled as a [unity build](https://en.wikipedia.org/wiki/Unity_build), if you are using cmake 3.16 or newer. To use this
+feature, use `-DCMAKE_UNITY_BUILD=ON` option when invoking cmake.
+
+Don't use this option when also using `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON` though as the unity build will render the produced compilation database
+useless.
+
### How can I specify the build type
In order to set the build type (Debug vs Release), you have to use the `CMAKE_BUILD_TYPE` variable when invoking cmake like so: `cmake