Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure

This commit is contained in:
Yehonal
2017-12-21 11:26:43 +01:00
445 changed files with 49192 additions and 15431 deletions

View File

@@ -6,14 +6,20 @@ They will be git-ignored
Remember to use cmake macro inside your CMakeLists.txt to correctly
add scripts to project solution.
BTW, **We strongly suggest you** to use our module system to create your custom
/!\ BTW, **We strongly suggest you** to use our module system to create your custom
powerful module instead of simple scripts.
-----------------
CMakeLists.txt example:
How to:
1) Create a CMakeLists.txt in this directory
Example (everything below is needed, just replace with your scripts' names):
set(scripts_STAT_SRCS
${scripts_STAT_SRCS}
@@ -24,3 +30,8 @@ set(scripts_STAT_SRCS
AC_ADD_SCRIPT_LOADER("Custom" "ScriptLoader.h")
message(" -> Prepared: My custom scripts")
2) Add them to ../ScriptLoader.cpp
Open the file and go at the end of the file to know what to edit.