This is the output from the cmake command:
mangos@azerothvanilla:~$ cmake -S ~/mangos/zero/server/ -B ~/mangos/zero/build/ -DBUILD_MANGOSD=1 -DBUILD_REALMD=1 -DBUILD_TOOLS=1 -DUSE_STORMLIB=1 -DSCRIPT_LIB_ELUNA=1 -DSCRIPT_LIB_SD3=1 -DPLAYERBOTS=1 -DPCH=1
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
This script builds the MaNGOS server.
Options that can be used in order to configure the process:
General:
CMAKE_INSTALL_PREFIX Path where the server should be installed to
BUILD_MANGOSD Build the main server
BUILD_REALMD Build the login server
BUILD_TOOLS Build the map/vmap/mmap extractors
USE_STORMLIB Use StormLib for reading MPQs
SOAP Enable remote access via SOAP
PCH Enable use of precompiled headers
DEBUG Debug build, only for systems without IDE (Linux, *BSD)
WITHOUT_GIT Disable Git revision detection
Scripting engines:
SCRIPT_LIB_ELUNA Compile with support for Eluna scripts
SCRIPT_LIB_SD3 Compile with support for ScriptDev3 scripts
Modules:
PLAYERBOTS Enable Player Bots
To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.
Also, you can specify the generator with -G. See 'cmake --help' for more details
For example: cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mangos -DSCRIPT_LIB_SD3=0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found MySQL: /usr/include/mysql
-- Lua version: lua52
-- Lua linking: dynamic
===================================================
Mangos revision : 5906fcf9c349 2026-05-30 18:20:49 +0100 (master branch)
Build type : Release
Install server(s) to : /usr/local/bin
Install configs to : /usr/local/etc
Detailed Information
+-- operating system : Linux-5.15.0-179-generic
+-- cmake version : 3.22.1
Build main server : Yes (default)
+-- with Eluna script engine
+-- revision : ddd573658f9d 2025-06-13 09:48:30 -0700 (HEAD branch)
+-- with SD3 script engine
+-- revision : 697fd8ca03f2 2026-05-20 22:37:44 +0100 (HEAD branch)
+-- with PlayerBots
Build login server : Yes (default)
Support for SOAP : No (default)
Build tools : Yes (default)
===================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mangos/mangos/zero/build