azerothcore-wotlk/apps/compiler
2025-10-25 01:16:09 +02:00
..
includes feat(Config): Implement configuration severity policy and logging mechanism (#23284) 2025-10-25 01:16:09 +02:00
test feat(MenuSystem): Implement unified menu system for AzerothCore management (#22786) 2025-09-04 00:03:55 +02:00
.gitignore Directory Structure [step 1]: moving files 2017-10-12 20:00:52 +02:00
compiler.sh Refactor menu command handling for direct execution (#22791) 2025-09-04 11:47:44 +02:00
README.md feat(bash): support for derivated distro + refactor conf (#3259) 2020-08-06 02:37:14 +02:00

How to compile:

first of all, if you need some custom configuration you have to copy /conf/dist/config.sh in /conf/config.sh and configure it

  • for a "clean" compilation you must run all scripts in their order:

      ./1-clean.sh
      ./2-configure.sh
      ./3-build.sh
    
  • if you add/rename/delete some sources and you need to compile it you have to run:

      ./2-configure.sh
      ./3-build.sh
    
  • if you have modified code only, you just need to run

      ./3-build.sh
    

compiler.sh

compiler.sh script contains an interactive menu to clean/compile/build. You can also run actions directly by command lines specifying the option. Ex: ./compiler.sh 3

It will start the build process (it's equivalent to ./3-build.sh)

Note:

For an optimal development process and really faster compilation time, is suggested to use clang instead of gcc