From f213f2c7d9bdafece27e198ba0bdf74ec258ede6 Mon Sep 17 00:00:00 2001 From: click Date: Thu, 29 Jul 2010 21:08:16 +0200 Subject: 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 --- src/server/scripts/CMakeLists.txt | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'src/server/scripts') 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( -- cgit v1.2.3