If you want to disable performance improvement, add this flag -DENABLE_EXTRAS=0

If you want to enable extra logs, add this flag: -DENABLE_EXTRAS=1 -DENABLE_EXTRA_LOGS=1

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