mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user