summaryrefslogtreecommitdiff
path: root/docs/cmake-options.md
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-06-12 14:50:58 +0200
committerGitHub <noreply@github.com>2021-06-12 14:50:58 +0200
commitf309cf79bbb032a0686b7d04feb8fec18e600a84 (patch)
tree9ea7db08f0698ec9af213941307c83246c7b68a3 /docs/cmake-options.md
parentb2610fad21012673061f5af786b022c96625cc26 (diff)
downloadwiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.gz
wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.tar.bz2
wiki-f309cf79bbb032a0686b7d04feb8fec18e600a84.zip
chore: file naming standard (#517)
* A * file naming standard Fixes #491 * Revert "A" This reverts commit 1c225fed753554098069597a2bbcbe08213b76a1. * rename * Revert "rename" This reverts commit 65fd916faf8530ce258cc2b475c93971468680fe. * Revert "file naming standard" This reverts commit 6ca5a703a9e9d59f9c773029e4c04bfd012b6abb. * bye * Hi * Create the-staging-branch.md * 1 * Delete how-to-create-a-PR.md * Create how-to-create-a-pr.md * werafgt * Update the-modular-structure.md * wef
Diffstat (limited to 'docs/cmake-options.md')
-rw-r--r--docs/cmake-options.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/cmake-options.md b/docs/cmake-options.md
new file mode 100644
index 0000000..f165eb2
--- /dev/null
+++ b/docs/cmake-options.md
@@ -0,0 +1,32 @@
+---
+redirect_from: "/CMake-options"
+---
+
+# CMake Options
+
+## PERFORMANCE
+
+If you want to disable performance improvement, add this flag `-DENABLE_EXTRAS=0`
+
+## EXTRA LOGS
+
+If you want to enable extra logs, add this flag: `-DENABLE_EXTRAS=1 -DENABLE_EXTRA_LOGS=1`
+
+## PCH
+
+Totally disable PCH:
+
+`-DNOPCH=1`
+
+Or one by one:
+```
+-DUSE_COREPCH=0
+-DUSE_SCRIPTPCH=0
+```
+
+## OTHER OPTIONS
+
+Other options are available here:
+
+* https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/config.cmake.dist
+* https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/cmake/showoptions.cmake