mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 09:03:47 +00:00
Using more appropriate NS prefixes for our macro and cmake vars
This commit is contained in:
@@ -30,9 +30,9 @@ set(scripts_STAT_SRCS
|
||||
../game/AI/ScriptedAI/ScriptedFollowerAI.cpp
|
||||
)
|
||||
|
||||
AZTH_ADD_SCRIPT_LOADER("Spell" "ScriptLoader.h")
|
||||
AZTH_ADD_SCRIPT_LOADER("SC_Smart" "ScriptLoader.h")
|
||||
AZTH_ADD_SCRIPT_LOADER("Command" "ScriptLoader.h")
|
||||
AC_ADD_SCRIPT_LOADER("Spell" "ScriptLoader.h")
|
||||
AC_ADD_SCRIPT_LOADER("SC_Smart" "ScriptLoader.h")
|
||||
AC_ADD_SCRIPT_LOADER("Command" "ScriptLoader.h")
|
||||
|
||||
if(SCRIPTS)
|
||||
include(World/CMakeLists.txt)
|
||||
@@ -46,19 +46,19 @@ if(SCRIPTS)
|
||||
endif()
|
||||
|
||||
|
||||
AZTH_GET_GLOBAL("AZTH_ADD_SCRIPTS_LIST")
|
||||
AZTH_GET_GLOBAL("AZTH_ADD_SCRIPTS_INCLUDE")
|
||||
AZTH_GET_GLOBAL("AZTH_SCRIPTS_SOURCES")
|
||||
CU_GET_GLOBAL("AC_ADD_SCRIPTS_LIST")
|
||||
CU_GET_GLOBAL("AC_ADD_SCRIPTS_INCLUDE")
|
||||
CU_GET_GLOBAL("AC_SCRIPTS_SOURCES")
|
||||
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
${AZTH_SCRIPTS_SOURCES}
|
||||
${AC_SCRIPTS_SOURCES}
|
||||
)
|
||||
|
||||
set("AZTH_SCRIPTS_INCLUDES" "")
|
||||
set("AC_SCRIPTS_INCLUDES" "")
|
||||
|
||||
FOREACH (include ${AZTH_ADD_SCRIPTS_INCLUDE})
|
||||
set("AZTH_SCRIPTS_INCLUDES" "#include \"${include}\"\n${AZTH_SCRIPTS_INCLUDES}")
|
||||
FOREACH (include ${AC_ADD_SCRIPTS_INCLUDE})
|
||||
set("AC_SCRIPTS_INCLUDES" "#include \"${include}\"\n${AC_SCRIPTS_INCLUDES}")
|
||||
ENDFOREACH()
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/GenLoader.cpp.cmake ${BUILDDIR}/GenLoader.cpp)
|
||||
|
||||
Reference in New Issue
Block a user