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
This commit is contained in:
click
2010-07-29 21:08:16 +02:00
parent c44b601ac7
commit f213f2c7d9
13 changed files with 191 additions and 328 deletions

View File

@@ -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(