diff options
| author | click <none@none> | 2010-07-29 21:08:16 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-07-29 21:08:16 +0200 |
| commit | f213f2c7d9bdafece27e198ba0bdf74ec258ede6 (patch) | |
| tree | 4c46a3fa9fa19dde856c399a25c959b1bda74c6f /src/server/scripts | |
| parent | c44b601ac78c429c7e4800c50b19c257dae0aefb (diff) | |
Buildsystem/CMake: Include core/script headerfiles in generated MSVC-projects.
- Still "work in progress", as in missing filters and MSVC folder layouts.
- external libraries not fully "headerified" (not really required)
--HG--
branch : trunk
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/CMakeLists.txt | 22 |
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( |
