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:
Diffstat (limited to 'docs/dev/build-instructions/faq.md')
-rw-r--r--docs/dev/build-instructions/faq.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev/build-instructions/faq.md b/docs/dev/build-instructions/faq.md
new file mode 100644
index 000000000..7242ea2fb
--- /dev/null
+++ b/docs/dev/build-instructions/faq.md
@@ -0,0 +1,10 @@
+# Build FAQ
+
+### 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
+-DCMAKE_BUILD_TYPE=Release`. The supported types currently are: "Debug" and "Release".
+
+Note that this only works for *single-config* generators. If you are using a *multi-config* generator (e.g. visual studio projects), the steps
+mentioned above won't have any effect. Instead, you'll have to choose the config type when invoking the build itself. This works by using e.g. `cmake
+--build . --config Release`.