Files
TCPlayerbotCore/src/server/game/CMakeLists.txt
T

399 lines
14 KiB
CMake
Raw Normal View History

# Enable precompiled headers when using the GCC compiler.
IF(DO_PCH AND CMAKE_COMPILER_IS_GNUCXX)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
ENDIF(DO_PCH AND CMAKE_COMPILER_IS_GNUCXX)
2009-01-17 09:23:33 -05:00
SET(game_STAT_SRCS
2010-06-07 12:13:15 +02:00
Accounts/AccountMgr.cpp
Accounts/AccountMgr.h
2010-06-06 12:35:19 +02:00
Achievements/AchievementMgr.h
Achievements/AchievementMgr.cpp
Addons/AddonMgr.cpp
Addons/AddonMgr.h
2010-06-07 12:13:15 +02:00
AI/CoreAI/CombatAI.cpp
AI/CoreAI/CombatAI.h
AI/CoreAI/GuardAI.cpp
AI/CoreAI/GuardAI.h
AI/CoreAI/PassiveAI.cpp
AI/CoreAI/PassiveAI.h
AI/CoreAI/PetAI.cpp
AI/CoreAI/PetAI.h
AI/CoreAI/ReactorAI.cpp
AI/CoreAI/ReactorAI.h
AI/CoreAI/TotemAI.cpp
AI/CoreAI/TotemAI.h
AI/CoreAI/UnitAI.cpp
AI/CoreAI/UnitAI.h
2010-06-06 12:35:19 +02:00
AI/EventAI/CreatureEventAI.cpp
AI/EventAI/CreatureEventAIMgr.cpp
AI/ScriptedAI/ScriptedSmartAI.cpp
AI/ScriptedAI/ScriptedSmartAI.h
AI/CreatureAIFactory.h
AI/CreatureAIImpl.h
AI/CreatureAIRegistry.cpp
AI/CreatureAIRegistry.h
AI/CreatureAISelector.cpp
AI/CreatureAISelector.h
AuctionHouse/AuctionHouseMgr.cpp
AuctionHouse/AuctionHouseMgr.h
2010-06-07 12:13:15 +02:00
AuctionHouse/AuctionHouseBot/AuctionHouseBot.cpp
AuctionHouse/AuctionHouseBot/AuctionHouseBot.h
2010-06-06 12:35:19 +02:00
BattleGrounds/ArenaTeam.cpp
BattleGrounds/ArenaTeam.h
2010-06-07 12:13:15 +02:00
BattleGrounds/Zones/BattleGroundAA.cpp
BattleGrounds/Zones/BattleGroundAA.h
BattleGrounds/Zones/BattleGroundAB.cpp
BattleGrounds/Zones/BattleGroundAB.h
BattleGrounds/Zones/BattleGroundRB.cpp
BattleGrounds/Zones/BattleGroundRB.h
BattleGrounds/Zones/BattleGroundAV.cpp
BattleGrounds/Zones/BattleGroundAV.h
BattleGrounds/Zones/BattleGroundBE.cpp
BattleGrounds/Zones/BattleGroundBE.h
BattleGrounds/Zones/BattleGroundDS.cpp
BattleGrounds/Zones/BattleGroundDS.h
BattleGrounds/Zones/BattleGroundEY.cpp
BattleGrounds/Zones/BattleGroundEY.h
BattleGrounds/Zones/BattleGroundIC.cpp
BattleGrounds/Zones/BattleGroundIC.h
BattleGrounds/Zones/BattleGroundNA.cpp
BattleGrounds/Zones/BattleGroundNA.h
BattleGrounds/Zones/BattleGroundRL.cpp
BattleGrounds/Zones/BattleGroundRL.h
BattleGrounds/Zones/BattleGroundRV.cpp
BattleGrounds/Zones/BattleGroundRV.h
BattleGrounds/Zones/BattleGroundSA.cpp
BattleGrounds/Zones/BattleGroundSA.h
BattleGrounds/Zones/BattleGroundWS.cpp
BattleGrounds/Zones/BattleGroundWS.h
2010-06-06 12:35:19 +02:00
BattleGrounds/BattleGround.cpp
BattleGrounds/BattleGround.h
BattleGrounds/BattleGroundMgr.cpp
BattleGrounds/BattleGroundMgr.h
Calendar/Calendar.cpp
Calendar/Calendar.h
2010-06-07 12:13:15 +02:00
Chat/Channels/Channel.cpp
Chat/Channels/Channel.h
Chat/Channels/ChannelMgr.h
Chat/Channels/ChannelMgr.cpp
Chat/Commands/Debugcmds.cpp
Chat/Commands/Level0.cpp
Chat/Commands/Level1.cpp
Chat/Commands/Level2.cpp
Chat/Commands/Level3.cpp
2010-06-06 12:35:19 +02:00
Chat/Chat.cpp
Chat/Chat.h
Combat/HostileRefManager.cpp
Combat/HostileRefManager.h
Combat/ThreatManager.cpp
Combat/ThreatManager.h
2010-06-07 12:13:15 +02:00
Combat/UnitEvents.h
Conditions/ConditionMgr.cpp
Conditions/ConditionMgr.h
2010-06-06 12:35:19 +02:00
DataStores/DBCEnums.h
DataStores/DBCStores.cpp
DataStores/DBCStores.h
DataStores/DBCStructure.h
DataStores/DBCfmt.h
2010-06-07 12:13:15 +02:00
DungeonFinding/LFG.h
DungeonFinding/LFGMgr.cpp
DungeonFinding/LFGMgr.h
Entities/Corpse/Corpse.cpp
Entities/Corpse/Corpse.h
2010-06-06 12:35:19 +02:00
Entities/Creature/Creature.cpp
Entities/Creature/Creature.h
Entities/Creature/CreatureGroups.cpp
Entities/Creature/CreatureGroups.h
Entities/Creature/GossipDef.cpp
Entities/Creature/GossipDef.h
Entities/Creature/TemporarySummon.cpp
Entities/Creature/TemporarySummon.h
2010-06-07 12:13:15 +02:00
Entities/DynamicObject/DynamicObject.cpp
Entities/DynamicObject/DynamicObject.h
2010-06-06 12:35:19 +02:00
Entities/GameObject/GameObject.cpp
Entities/GameObject/GameObject.h
2010-06-07 12:13:15 +02:00
Entities/Item/Container/Bag.cpp
Entities/Item/Container/Bag.h
2010-06-06 12:35:19 +02:00
Entities/Item/Item.cpp
Entities/Item/Item.h
Entities/Item/ItemEnchantmentMgr.cpp
Entities/Item/ItemEnchantmentMgr.h
Entities/Item/ItemPrototype.h
2010-06-07 12:13:15 +02:00
Entities/Object/Updates/UpdateData.cpp
Entities/Object/Updates/UpdateData.h
Entities/Object/Updates/UpdateFields.h
Entities/Object/Updates/UpdateMask.h
2010-06-06 12:35:19 +02:00
Entities/Object/ObjectDefines.h
2010-06-07 12:13:15 +02:00
Entities/Object/Object.cpp
2010-06-06 12:35:19 +02:00
Entities/Object/Object.h
2010-06-07 12:13:15 +02:00
Entities/Object/ObjectPosSelector.cpp
Entities/Object/ObjectPosSelector.h
2010-06-06 12:35:19 +02:00
Entities/Pet/Pet.cpp
Entities/Pet/Pet.h
Entities/Player/Player.cpp
Entities/Player/Player.h
Entities/Player/SocialMgr.cpp
Entities/Player/SocialMgr.h
Entities/Unit/StatSystem.cpp
Entities/Unit/Unit.cpp
Entities/Unit/Unit.h
Entities/Totem/Totem.cpp
Entities/Totem/Totem.h
2010-06-07 12:13:15 +02:00
Entities/Transport/Transport.cpp
Entities/Transport/Transport.h
2010-06-06 12:35:19 +02:00
Entities/Vehicle/Vehicle.cpp
Entities/Vehicle/Vehicle.h
Events/GameEventMgr.cpp
Events/GameEventMgr.h
2010-06-07 12:13:15 +02:00
Globals/GlobalEvents.cpp
Globals/GlobalEvents.h
Globals/ObjectAccessor.cpp
Globals/ObjectAccessor.h
Globals/ObjectMgr.cpp
Globals/ObjectMgr.h
Grids/Cells/Cell.h
Grids/Cells/CellImpl.h
Grids/Notifiers/GridNotifiers.cpp
Grids/Notifiers/GridNotifiers.h
Grids/Notifiers/GridNotifiersImpl.h
Grids/GridDefines.h
Grids/GridStates.cpp
Grids/GridStates.h
Grids/ObjectGridLoader.cpp
Grids/ObjectGridLoader.h
2010-06-06 12:35:19 +02:00
Groups/Group.cpp
Groups/Group.h
Groups/GroupReference.cpp
Groups/GroupReference.h
Groups/GroupRefManager.h
Guilds/Guild.cpp
Guilds/Guild.h
Instances/InstanceData.cpp
Instances/InstanceData.h
Instances/InstanceSaveMgr.cpp
Instances/InstanceSaveMgr.h
Loot/LootMgr.cpp
Loot/LootMgr.h
Mails/Mail.cpp
Mails/Mail.h
2010-06-07 12:13:15 +02:00
Maps/Map.cpp
Maps/Map.h
Maps/MapInstanced.cpp
Maps/MapInstanced.h
Maps/MapManager.cpp
Maps/MapManager.h
Maps/MapUpdater.cpp
Maps/MapUpdater.h
Maps/MapReference.h
Maps/MapRefManager.h
Maps/ZoneScript.h
Miscellaneous/Formulas.h
Miscellaneous/Language.h
Miscellaneous/SharedDefines.h
2010-06-06 12:35:19 +02:00
Movement/MovementGenerators/ConfusedMovementGenerator.cpp
Movement/MovementGenerators/ConfusedMovementGenerator.h
Movement/MovementGenerators/FleeingMovementGenerator.cpp
Movement/MovementGenerators/FleeingMovementGenerator.h
Movement/MovementGenerators/HomeMovementGenerator.cpp
Movement/MovementGenerators/HomeMovementGenerator.h
Movement/MovementGenerators/IdleMovementGenerator.cpp
Movement/MovementGenerators/IdleMovementGenerator.h
Movement/MovementGenerators/PointMovementGenerator.cpp
Movement/MovementGenerators/PointMovementGenerator.h
Movement/MovementGenerators/RandomMovementGenerator.cpp
Movement/MovementGenerators/RandomMovementGenerator.h
Movement/MovementGenerators/TargetedMovementGenerator.cpp
Movement/MovementGenerators/TargetedMovementGenerator.h
Movement/MovementGenerators/WaypointMovementGenerator.cpp
Movement/MovementGenerators/WaypointMovementGenerator.h
2010-06-07 12:13:15 +02:00
Movement/Waypoints/Path.h
Movement/Waypoints/WaypointManager.cpp
Movement/Waypoints/WaypointManager.h
2010-06-06 12:35:19 +02:00
Movement/DestinationHolder.cpp
Movement/DestinationHolder.h
Movement/DestinationHolderImp.h
Movement/FollowerReference.cpp
Movement/FollowerReference.h
Movement/FollowerRefManager.h
Movement/MotionMaster.cpp
Movement/MotionMaster.h
2010-06-07 12:13:15 +02:00
Movement/MovementGenerator.cpp
Movement/MovementGenerator.h
Movement/MovementGeneratorImpl.h
2010-06-06 12:35:19 +02:00
Movement/Traveller.h
2010-06-07 12:13:15 +02:00
OutdoorPvP/Zones/OutdoorPvPEP.cpp
OutdoorPvP/Zones/OutdoorPvPEP.h
OutdoorPvP/Zones/OutdoorPvPHP.cpp
OutdoorPvP/Zones/OutdoorPvPHP.h
OutdoorPvP/Zones/OutdoorPvPNA.cpp
OutdoorPvP/Zones/OutdoorPvPNA.h
OutdoorPvP/Zones/OutdoorPvPSI.cpp
OutdoorPvP/Zones/OutdoorPvPSI.h
OutdoorPvP/Zones/OutdoorPvPTF.cpp
OutdoorPvP/Zones/OutdoorPvPTF.h
OutdoorPvP/Zones/OutdoorPvPZM.cpp
OutdoorPvP/Zones/OutdoorPvPZM.h
2010-06-06 12:35:19 +02:00
OutdoorPvP/OutdoorPvP.cpp
OutdoorPvP/OutdoorPvP.h
OutdoorPvP/OutdoorPvPImpl.h
OutdoorPvP/OutdoorPvPMgr.cpp
OutdoorPvP/OutdoorPvPMgr.h
Pools/PoolHandler.cpp
Pools/PoolHandler.h
Quests/QuestDef.cpp
Quests/QuestDef.h
Reputation/ReputationMgr.cpp
Reputation/ReputationMgr.h
2010-06-07 12:13:15 +02:00
Scripting/ScriptLoader.cpp
Scripting/ScriptLoader.h
Scripting/ScriptMgr.cpp
Scripting/ScriptMgr.h
Scripting/ScriptSystem.cpp
Scripting/ScriptSystem.h
Server/Protocol/Handlers/AddonHandler.cpp
Server/Protocol/Handlers/AddonHandler.h
Server/Protocol/Handlers/ArenaTeamHandler.cpp
Server/Protocol/Handlers/AuctionHouseHandler.cpp
Server/Protocol/Handlers/BattleGroundHandler.cpp
Server/Protocol/Handlers/CalendarHandler.cpp
Server/Protocol/Handlers/ChannelHandler.cpp
Server/Protocol/Handlers/CharacterHandler.cpp
Server/Protocol/Handlers/ChatHandler.cpp
Server/Protocol/Handlers/CombatHandler.cpp
Server/Protocol/Handlers/DuelHandler.cpp
Server/Protocol/Handlers/GroupHandler.cpp
Server/Protocol/Handlers/GuildHandler.cpp
Server/Protocol/Handlers/ItemHandler.cpp
Server/Protocol/Handlers/LFGHandler.cpp
Server/Protocol/Handlers/LootHandler.cpp
Server/Protocol/Handlers/MiscHandler.cpp
Server/Protocol/Handlers/MovementHandler.cpp
Server/Protocol/Handlers/NPCHandler.cpp
Server/Protocol/Handlers/NPCHandler.h
Server/Protocol/Handlers/PetHandler.cpp
Server/Protocol/Handlers/PetitionsHandler.cpp
Server/Protocol/Handlers/QueryHandler.cpp
Server/Protocol/Handlers/QuestHandler.cpp
Server/Protocol/Handlers/SkillHandler.cpp
Server/Protocol/Handlers/SpellHandler.cpp
Server/Protocol/Handlers/TaxiHandler.cpp
Server/Protocol/Handlers/TicketHandler.cpp
Server/Protocol/Handlers/TradeHandler.cpp
Server/Protocol/Handlers/VoiceChatHandler.cpp
Server/Protocol/Opcodes.cpp
Server/Protocol/Opcodes.h
Server/Protocol/WorldLog.cpp
Server/Protocol/WorldLog.h
Server/WorldSession.cpp
Server/WorldSession.h
Server/WorldSocket.cpp
Server/WorldSocket.h
Server/WorldSocketMgr.cpp
Server/WorldSocketMgr.h
2010-06-06 12:35:19 +02:00
Skills/SkillDiscovery.cpp
Skills/SkillDiscovery.h
Skills/SkillExtraItems.cpp
Skills/SkillExtraItems.h
Spells/Auras/SpellAuraDefines.h
Spells/Auras/SpellAuras.cpp
Spells/Auras/SpellAuras.h
Spells/Auras/SpellAuraEffects.cpp
Spells/Auras/SpellAuraEffects.h
Spells/Auras/SpellEffects.cpp
Spells/Spell.cpp
Spells/Spell.h
Spells/SpellMgr.cpp
Spells/SpellMgr.h
Tools/PlayerDump.cpp
Tools/PlayerDump.h
Tools/Tools.cpp
Tools/Tools.h
Weather/Weather.cpp
Weather/Weather.h
World/World.cpp
World/World.h
2009-01-17 09:23:33 -05:00
)
2010-01-19 11:36:05 +01:00
2010-04-06 15:53:27 +02:00
include_directories(
${ACE_INCLUDE_DIR}
2010-04-06 15:53:27 +02:00
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/dep/include
${CMAKE_SOURCE_DIR}/src/server/shared
${CMAKE_SOURCE_DIR}/src/server/shared/Database
${CMAKE_SOURCE_DIR}/src/server/game
2010-06-07 12:13:15 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/Accounts
${CMAKE_SOURCE_DIR}/src/server/game/Achievements
${CMAKE_SOURCE_DIR}/src/server/game/Addons
${CMAKE_SOURCE_DIR}/src/server/game/AI
2010-06-06 15:50:15 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/AI/EventAI
${CMAKE_SOURCE_DIR}/src/server/game/AI/ScriptedAI
${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse
${CMAKE_SOURCE_DIR}/src/server/game/BattleGrounds
${CMAKE_SOURCE_DIR}/src/server/game/Calendar
${CMAKE_SOURCE_DIR}/src/server/game/Chat
${CMAKE_SOURCE_DIR}/src/server/game/Combat
2010-06-07 12:13:15 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/Conditions
${CMAKE_SOURCE_DIR}/src/server/game/DataStores
${CMAKE_SOURCE_DIR}/src/server/game/Entities
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Creature
${CMAKE_SOURCE_DIR}/src/server/game/Entities/GameObject
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Pet
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Player
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Totem
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Unit
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Vehicle
${CMAKE_SOURCE_DIR}/src/server/game/Events
${CMAKE_SOURCE_DIR}/src/server/game/Globals
${CMAKE_SOURCE_DIR}/src/server/game/Groups
${CMAKE_SOURCE_DIR}/src/server/game/Guilds
${CMAKE_SOURCE_DIR}/src/server/game/Instances
${CMAKE_SOURCE_DIR}/src/server/game/Loot
${CMAKE_SOURCE_DIR}/src/server/game/Mails
2010-06-07 12:13:15 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/Maps
${CMAKE_SOURCE_DIR}/src/server/game/Movement
2010-06-06 17:23:31 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/Movement/MovementGenerators
${CMAKE_SOURCE_DIR}/src/server/game/OutdoorPvP
${CMAKE_SOURCE_DIR}/src/server/game/Pools
${CMAKE_SOURCE_DIR}/src/server/game/Quests
${CMAKE_SOURCE_DIR}/src/server/game/Reputation
2010-06-07 12:13:15 +02:00
${CMAKE_SOURCE_DIR}/src/server/game/Scripting
${CMAKE_SOURCE_DIR}/src/server/game/Skills
${CMAKE_SOURCE_DIR}/src/server/game/Spells
${CMAKE_SOURCE_DIR}/src/server/game/Spells/Auras
${CMAKE_SOURCE_DIR}/src/server/game/Tools
${CMAKE_SOURCE_DIR}/src/server/game/Weather
${CMAKE_SOURCE_DIR}/src/server/game/World
2010-04-06 15:53:27 +02:00
${MYSQL_INCLUDE_DIR}
)
2010-01-24 20:02:05 +01:00
if(NOT DO_SCRIPTS)
SET(game_STAT_SRCS ${game_STAT_SRCS}
AI/ScriptedAI/ScriptedEscortAI.cpp
AI/ScriptedAI/ScriptedEscortAI.h
AI/ScriptedAI/ScriptedCreature.cpp
AI/ScriptedAI/ScriptedCreature.h
AI/ScriptedAI/ScriptedFollowerAI.cpp
AI/ScriptedAI/ScriptedFollowerAI.h
AI/ScriptedAI/ScriptedGossip.h
AI/ScriptedAI/ScriptedGuardAI.cpp
AI/ScriptedAI/ScriptedGuardAI.h
AI/ScriptedAI/ScriptedInstance.h
AI/ScriptedAI/ScriptedSimpleAI.cpp
AI/ScriptedAI/ScriptedSimpleAI.h
PrecompiledHeaders/ScriptPCH.cpp
PrecompiledHeaders/ScriptPCH.h
2010-01-19 11:36:05 +01:00
)
2010-01-24 20:02:05 +01:00
message("-- Added Script Engine to GAME lib")
endif(NOT DO_SCRIPTS)
2010-01-19 11:36:05 +01:00
2009-01-17 09:23:33 -05:00
add_library(game STATIC ${game_STAT_SRCS})
2009-04-08 14:22:52 +02:00
ADD_DEPENDENCIES(game revision.h)
2010-01-24 20:02:05 +01:00
# Generate precompiled header
IF(DO_PCH AND CMAKE_COMPILER_IS_GNUCXX)
ADD_PRECOMPILED_HEADER(game ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders/NixCorePCH.h)
ENDIF(DO_PCH AND CMAKE_COMPILER_IS_GNUCXX)