From f309cf79bbb032a0686b7d04feb8fec18e600a84 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sat, 12 Jun 2021 14:50:58 +0200 Subject: 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 --- docs/cmake-options.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/cmake-options.md (limited to 'docs/cmake-options.md') 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 -- cgit