summaryrefslogtreecommitdiff
path: root/docs/cmake-options.md
blob: f165eb261ca3924fbbaa6afcf5fd71c804c9a3fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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