mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-07 01:30:31 +00:00
Another big repo refactoring, should be latest
I've restored old paths for scripts and flattened the src structure
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
# Enable precompiled headers when using the GCC compiler.
|
||||
|
||||
CU_SET_PATH("AC_SCRIPTS_DIR" "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
if (USE_SCRIPTPCH)
|
||||
set(scripts_STAT_PCH_HDR PrecompiledHeaders/ScriptPCH.h)
|
||||
set(scripts_STAT_PCH_SRC PrecompiledHeaders/ScriptPCH.cpp)
|
||||
@@ -34,6 +36,23 @@ AC_ADD_SCRIPT_LOADER("Spell" "ScriptLoader.h")
|
||||
AC_ADD_SCRIPT_LOADER("SC_Smart" "ScriptLoader.h")
|
||||
AC_ADD_SCRIPT_LOADER("Command" "ScriptLoader.h")
|
||||
|
||||
CU_SET_PATH("CMAKE_AC_MODULE_DIR" "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
if(SCRIPTS)
|
||||
include(World/CMakeLists.txt)
|
||||
include(OutdoorPvP/CMakeLists.txt)
|
||||
include(EasternKingdoms/CMakeLists.txt)
|
||||
include(Kalimdor/CMakeLists.txt)
|
||||
include(Outland/CMakeLists.txt)
|
||||
include(Northrend/CMakeLists.txt)
|
||||
include(Events/CMakeLists.txt)
|
||||
include(Pet/CMakeLists.txt)
|
||||
endif()
|
||||
|
||||
if(EXISTS "Custom/CMakeLists.txt")
|
||||
include(Custom/CMakeLists.txt)
|
||||
endif()
|
||||
|
||||
CU_GET_GLOBAL("AC_ADD_SCRIPTS_LIST")
|
||||
CU_GET_GLOBAL("AC_ADD_SCRIPTS_INCLUDE")
|
||||
CU_GET_GLOBAL("AC_SCRIPTS_SOURCES")
|
||||
|
||||
Reference in New Issue
Block a user