Guide to build Playerbot - cmangos/issues GitHub Wiki
documentation here.
NOTE: This file documents the deprecated playerbot module, for the new playerbot module you can findBuild instructions
In order to build the optional PlayerBot mod in CMaNGOS core, simply follow the instructions in https://github.com/cmangos/issues/wiki/Installation-Instructions
You only need to add an option when reaching the cmake configuration steps in https://github.com/cmangos/issues/wiki/Installation-Instructions#compiling-cmangos-and-scriptdev2-nix
When invoking cmake
you need to add the following option: -DBUILD_DEPRECATED_PLAYERBOT=ON
along with all your other options like debug or target directory.
That's it. Follow all the other steps as usual and the core will build with the optional PlayerBot mod embedded.