Parameter explanations path to your OpenSSL library - use if you have OpenSSL installed system wide with a different version to 1.0.x: Panel |
---|
-DOPENSSL_LIBRARIES=<path to OpenSSL library> |
path to your OpenSSL includes directory - use if you have OpenSSL installed system wide with a different version to 1.0.x: Panel |
---|
-DOPENSSL_INCLUDE_DIR=<path to OpenSSL includes> |
Parameter | Values | Usage | Default |
---|
DSCRIPTS DSCRIPTS_COMMANDS | DSCRIPTS_CUSTOM | DSCRIPTS_EASTERNKINGDOMS | DSCRIPTS_EVENTS | DSCRIPTS_KALIMDOR | DSCRIPTS_NORTHREDN | DSCRIPTS_OUTDOORPVP | DSCRIPTS_OUTLAND | DSCRIPTS_PET | DSCRIPTS_SPELLS | DSCRIPTS_WORLD |
| - "none": Disables all scripts
- "static": - Builds all scripts statically. (this is the old -DSCRIPTS=1 option).
- "dynamic": - Builds all scripts dynamically (Experimental feature).
- "minimal-static": Builds Commands and Spells statically, disables other scripts (this is the old -DSCRIPTS=0 option).
- "minimal-dynamic": Builds Commands and Spells dynamically, disables other scripts.
DSCRIPTS modules |
---|
- "default": Inherit DSCRIPTS value.
| - "disabled": Disables the building of the given module.
| - "static": Compiles the given module as a static library.
| - "dynamic": Compiles the given module as a dynamic library.
|
|
-DSCRIPTS="dynamic"
-DSCRIPTS_COMMANDS="default"
-DSCRIPTS_OUTDOORPVP="disabled"
-DSCRIPTS_PET="static" |
"static" | DTOOLS | - 1: Builds map/vmap/mmap etractor/assembler and connection_patcher (6.x)
- 0: Disables the building of tools.
| -DTOOLS=0 | 1 | DSERVERS | - 1: Builds authserver and worldserver.
- 0: Disables the building of servers.
| -DSERVERS=1 | 1 | DCMAKE_INSTALL_PREFIX | Path to the directory where TrinityCore will be installed. Required for script hotswapping. | -DCMAKE_INSTALL_PREFIX=/home/trinitycore/bin | /usr/local | DWITH_WARNINGS | - 1: Show all warning during compile. (Advanced users only)
- 0: Disable most warnings during compile.
| -DWITH_WARNINGS=1 | 0 | DUSE_COREPCH | - 1: Use precompiled headers when compiling servers.
- 0: Disables precompiled headers during servers compilation. (Advanced users only)
| -DUSE_COREPCH=0 | 1 | DUSE_SCRIPTSPCHSCRIPTPCH | - 1: Use precompiled headers when compiling scripts.
- 0: Disables precompiled headers during servers compilation. (Advanced users only)
| -DUSE_SCRIPTSPCHSCRIPTPCH=0 | 1 | DCONF_DIR | Sets configuration directory. (Advanced users only) | -DCONF_DIR=/home/trinitycore/conf | /usr/local/etc | DLIBSDIR | Sets libraries directory. (Advanced users only) | -DLIBSDIR=/lib | /usr/local/lib | DCMAKE_C_FLAGS | Set C_FLAGS for compilation. (Advanced users only) | -DCMAKE_C_FLAGS="-msse3 -O3" |
| DCMAKE_CXX_FLAGS | Set CXX_FLAGS for compilation. (Advanced users only) | -DCMAKE_CXX_FLAGS="-std=c++11 -O0" |
|
|