diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2022-01-13 15:01:37 +0100 |
|---|---|---|
| committer | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2022-01-13 15:01:37 +0100 |
| commit | dc17689bcef62e18dd1ce9dd64d316d604cf8ac6 (patch) | |
| tree | 70e883242e7af1c5c729e9b2729a648b631e7b66 /docs/cmake-options.md | |
| parent | f302103ffdbd1f154b8fce6cd29f04de5c43612b (diff) | |
| download | wiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.tar.gz wiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.tar.bz2 wiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.zip | |
chore: General improvements
Diffstat (limited to 'docs/cmake-options.md')
| -rw-r--r-- | docs/cmake-options.md | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/docs/cmake-options.md b/docs/cmake-options.md index 3d10533..1b8ee6a 100644 --- a/docs/cmake-options.md +++ b/docs/cmake-options.md @@ -6,15 +6,23 @@ redirect_from: "/CMake-options" ## PERFORMANCE -If you want to disable performance improvement, add this flag `-DENABLE_EXTRAS=0` +If you want to disable performance optimizations, add this flag `-DENABLE_EXTRAS=0` + +Only necessary if you're debugging. ## EXTRA LOGS -If you want to enable extra logs, add this flag: `-DENABLE_EXTRAS=1 -DENABLE_EXTRA_LOGS=1` +If you want to enable extra logs, add this flag: `-DENABLE_EXTRA_LOGS=1` + +Note: Will be CPU intensive. + +## WARNINGS -## PCH +Enable all warnings when compiling: `-DWITH_WARNINGS=1` -Totally disable PCH: +## Precompiled Headers (PCH) + +Disable all uses of PCH: `-DNOPCH=1` @@ -24,9 +32,11 @@ Or one by one: -DUSE_SCRIPTPCH=0 ``` +May increase build times. + ## OTHER OPTIONS Other options are available here: -* https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist/config.cmake +* https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist/config.cmake#L58 * https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/cmake/showoptions.cmake |
