aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/CMakeLists.txt22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/server/scripts/CMakeLists.txt b/src/server/scripts/CMakeLists.txt
index 936d3ecfe67..bfe226e7045 100644
--- a/src/server/scripts/CMakeLists.txt
+++ b/src/server/scripts/CMakeLists.txt
@@ -8,13 +8,13 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-file(GLOB_RECURSE scripts_easternkingdoms EasternKingdoms/*.cpp)
-file(GLOB_RECURSE scripts_kalimdor Kalimdor/*.cpp)
-file(GLOB_RECURSE scripts_northrend Northrend/*.cpp)
-file(GLOB_RECURSE scripts_outland Outland/*.cpp)
-file(GLOB_RECURSE scripts_world World/*.cpp)
-file(GLOB_RECURSE scripts_spells Spells/*.cpp)
-file(GLOB_RECURSE scripts_examples Examples/*.cpp)
+file(GLOB_RECURSE scripts_easternkingdoms EasternKingdoms/*.cpp EasternKingdoms/*.h)
+file(GLOB_RECURSE scripts_kalimdor Kalimdor/*.cpp Kalimdor/*.h)
+file(GLOB_RECURSE scripts_northrend Northrend/*.cpp Northrend/*.h)
+file(GLOB_RECURSE scripts_outland Outland/*.cpp Outland/*.h)
+file(GLOB_RECURSE scripts_world World/*.cpp World/*.h)
+file(GLOB_RECURSE scripts_spells Spells/*.cpp Spells/*.h)
+file(GLOB_RECURSE scripts_examples Examples/*.cpp Examples/*.h)
# Enable precompiled headers when using the GCC compiler.
if(PCH)
@@ -24,12 +24,6 @@ if(PCH)
endif()
set(scripts_STAT_SRCS
- ../game/AI/ScriptedAI/ScriptedEscortAI.cpp
- ../game/AI/ScriptedAI/ScriptedCreature.cpp
- ../game/AI/ScriptedAI/ScriptedFollowerAI.cpp
- ../game/AI/ScriptedAI/ScriptedGuardAI.cpp
- ../game/AI/ScriptedAI/ScriptedSimpleAI.cpp
- Custom/on_events.cpp
${scripts_easternkingdoms}
${scripts_kalimdor}
${scripts_northrend}
@@ -37,7 +31,9 @@ set(scripts_STAT_SRCS
${scripts_world}
${scripts_spells}
${scripts_examples}
+ Custom/on_events.cpp
)
+
message("-- Added Scriptengine to SCRIPTS lib")
include_directories(