* Added in a the ability for module developers to create a cmake file that gets run inline with the module CMakeLists.txt. Minor Perf hit on the build but will allow for Modules to be more flexible in how they work with CMake. * Comments and Documentation
1003 B
1003 B
CREATE A NEW AZEROTHCORE MODULE
- Read this page first:
http://www.azerothcore.org/wiki/Create-a-Module
- Run the script
create_module.sh:
- If you're on windows, execute it with Git Bash (right click on it and choose Git bash) if you have installed Git extensions
- If you're on linux, just run it with bash or with ./create_module.sh
This script will create the base of your module, with a clean history and add a git configuration option to this repository only (local config).
NOTE: You can also clone our skeleton-module manually, clean the history, and configure but you should use the script instead https://github.com/azerothcore/skeleton-module/
- Share it with the community!
Join us on our discord, share it there, then we might fork it officially and it will appear in the module catalogue.
Note: For Advanced CMake implementations a .cmake file in your module folder will be included in the config of Modules if it exists. See: ./CMakeList.txt around line #290