2010-06-21 07:17:26 +02:00
|
|
|
# Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
|
2010-06-09 15:39:34 +02:00
|
|
|
#
|
|
|
|
|
# This file is free software; as a special exception the author gives
|
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
######## game ########
|
|
|
|
|
|
2010-05-18 00:17:14 +02:00
|
|
|
# Enable precompiled headers when using the GCC compiler.
|
2010-07-27 05:40:21 +02:00
|
|
|
if(PCH)
|
2010-06-21 07:17:26 +02:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
endif()
|
2009-01-17 09:23:33 -05:00
|
|
|
|
2010-06-21 07:17:26 +02:00
|
|
|
# Create game-libary
|
|
|
|
|
set(game_STAT_SRCS
|
|
|
|
|
Accounts/AccountMgr.cpp
|
|
|
|
|
Achievements/AchievementMgr.cpp
|
|
|
|
|
Addons/AddonMgr.cpp
|
|
|
|
|
AI/CoreAI/CombatAI.cpp
|
|
|
|
|
AI/CoreAI/GuardAI.cpp
|
|
|
|
|
AI/CoreAI/PassiveAI.cpp
|
|
|
|
|
AI/CoreAI/PetAI.cpp
|
|
|
|
|
AI/CoreAI/ReactorAI.cpp
|
|
|
|
|
AI/CoreAI/TotemAI.cpp
|
|
|
|
|
AI/CoreAI/UnitAI.cpp
|
|
|
|
|
AI/EventAI/CreatureEventAI.cpp
|
|
|
|
|
AI/EventAI/CreatureEventAIMgr.cpp
|
|
|
|
|
AI/ScriptedAI/ScriptedSmartAI.cpp
|
|
|
|
|
AI/CreatureAIRegistry.cpp
|
|
|
|
|
AI/CreatureAISelector.cpp
|
|
|
|
|
AI/CreatureAI.cpp
|
|
|
|
|
AuctionHouse/AuctionHouseMgr.cpp
|
|
|
|
|
AuctionHouse/AuctionHouseBot/AuctionHouseBot.cpp
|
|
|
|
|
BattleGrounds/ArenaTeam.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundAA.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundAB.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundRB.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundAV.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundBE.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundDS.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundEY.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundIC.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundNA.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundRL.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundRV.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundSA.cpp
|
|
|
|
|
BattleGrounds/Zones/BattleGroundWS.cpp
|
|
|
|
|
BattleGrounds/BattleGround.cpp
|
|
|
|
|
BattleGrounds/BattleGroundMgr.cpp
|
|
|
|
|
Calendar/Calendar.cpp
|
|
|
|
|
Chat/Channels/Channel.cpp
|
|
|
|
|
Chat/Channels/ChannelMgr.cpp
|
|
|
|
|
Chat/Commands/Debugcmds.cpp
|
|
|
|
|
Chat/Commands/Level0.cpp
|
|
|
|
|
Chat/Commands/Level1.cpp
|
|
|
|
|
Chat/Commands/Level2.cpp
|
|
|
|
|
Chat/Commands/Level3.cpp
|
|
|
|
|
Chat/Chat.cpp
|
|
|
|
|
Combat/HostileRefManager.cpp
|
|
|
|
|
Combat/ThreatManager.cpp
|
|
|
|
|
Conditions/ConditionMgr.cpp
|
2010-07-21 12:14:23 +02:00
|
|
|
Conditions/DisableMgr.cpp
|
2010-06-21 07:17:26 +02:00
|
|
|
DataStores/DBCStores.cpp
|
|
|
|
|
DungeonFinding/LFGMgr.cpp
|
|
|
|
|
Entities/Corpse/Corpse.cpp
|
|
|
|
|
Entities/Creature/Creature.cpp
|
|
|
|
|
Entities/Creature/CreatureGroups.cpp
|
|
|
|
|
Entities/Creature/GossipDef.cpp
|
|
|
|
|
Entities/Creature/TemporarySummon.cpp
|
|
|
|
|
Entities/DynamicObject/DynamicObject.cpp
|
|
|
|
|
Entities/GameObject/GameObject.cpp
|
|
|
|
|
Entities/Item/Container/Bag.cpp
|
|
|
|
|
Entities/Item/Item.cpp
|
|
|
|
|
Entities/Item/ItemEnchantmentMgr.cpp
|
|
|
|
|
Entities/Object/Updates/UpdateData.cpp
|
|
|
|
|
Entities/Object/Object.cpp
|
|
|
|
|
Entities/Object/ObjectPosSelector.cpp
|
|
|
|
|
Entities/Pet/Pet.cpp
|
|
|
|
|
Entities/Player/Player.cpp
|
|
|
|
|
Entities/Player/SocialMgr.cpp
|
|
|
|
|
Entities/Unit/StatSystem.cpp
|
|
|
|
|
Entities/Unit/Unit.cpp
|
|
|
|
|
Entities/Totem/Totem.cpp
|
|
|
|
|
Entities/Transport/Transport.cpp
|
|
|
|
|
Entities/Vehicle/Vehicle.cpp
|
|
|
|
|
Events/GameEventMgr.cpp
|
|
|
|
|
Globals/GlobalEvents.cpp
|
|
|
|
|
Globals/ObjectAccessor.cpp
|
|
|
|
|
Globals/ObjectMgr.cpp
|
|
|
|
|
Grids/Notifiers/GridNotifiers.cpp
|
|
|
|
|
Grids/GridStates.cpp
|
|
|
|
|
Grids/ObjectGridLoader.cpp
|
|
|
|
|
Groups/Group.cpp
|
|
|
|
|
Groups/GroupReference.cpp
|
|
|
|
|
Guilds/Guild.cpp
|
|
|
|
|
Instances/InstanceData.cpp
|
|
|
|
|
Instances/InstanceSaveMgr.cpp
|
|
|
|
|
Loot/LootMgr.cpp
|
|
|
|
|
Mails/Mail.cpp
|
|
|
|
|
Maps/Map.cpp
|
|
|
|
|
Maps/MapInstanced.cpp
|
|
|
|
|
Maps/MapManager.cpp
|
|
|
|
|
Maps/MapUpdater.cpp
|
|
|
|
|
Movement/MovementGenerators/ConfusedMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/FleeingMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/HomeMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/IdleMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/PointMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/RandomMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/TargetedMovementGenerator.cpp
|
|
|
|
|
Movement/MovementGenerators/WaypointMovementGenerator.cpp
|
|
|
|
|
Movement/Waypoints/WaypointManager.cpp
|
|
|
|
|
Movement/DestinationHolder.cpp
|
|
|
|
|
Movement/FollowerReference.cpp
|
|
|
|
|
Movement/MotionMaster.cpp
|
|
|
|
|
Movement/MovementGenerator.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPEP.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPHP.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPNA.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPSI.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPTF.cpp
|
|
|
|
|
OutdoorPvP/Zones/OutdoorPvPZM.cpp
|
|
|
|
|
OutdoorPvP/OutdoorPvP.cpp
|
|
|
|
|
OutdoorPvP/OutdoorPvPMgr.cpp
|
2010-06-25 03:50:19 -06:00
|
|
|
Pools/PoolMgr.cpp
|
2010-06-21 07:17:26 +02:00
|
|
|
Quests/QuestDef.cpp
|
|
|
|
|
Reputation/ReputationMgr.cpp
|
|
|
|
|
Scripting/ScriptLoader.cpp
|
|
|
|
|
Scripting/ScriptMgr.cpp
|
|
|
|
|
Scripting/ScriptSystem.cpp
|
|
|
|
|
Server/Protocol/Handlers/AddonHandler.cpp
|
|
|
|
|
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/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/WorldLog.cpp
|
|
|
|
|
Server/WorldSession.cpp
|
|
|
|
|
Server/WorldSocket.cpp
|
|
|
|
|
Server/WorldSocketMgr.cpp
|
|
|
|
|
Skills/SkillDiscovery.cpp
|
|
|
|
|
Skills/SkillExtraItems.cpp
|
|
|
|
|
Spells/Auras/SpellAuras.cpp
|
|
|
|
|
Spells/Auras/SpellAuraEffects.cpp
|
2010-07-20 05:21:15 +02:00
|
|
|
Spells/SpellEffects.cpp
|
2010-06-21 07:17:26 +02:00
|
|
|
Spells/Spell.cpp
|
|
|
|
|
Spells/SpellMgr.cpp
|
2010-07-24 22:41:42 +02:00
|
|
|
Spells/SpellScript.cpp
|
2010-07-22 13:41:19 -06:00
|
|
|
Tools/CharacterDatabaseCleaner.cpp
|
2010-06-21 07:17:26 +02:00
|
|
|
Tools/PlayerDump.cpp
|
|
|
|
|
Tools/Tools.cpp
|
|
|
|
|
Weather/Weather.cpp
|
|
|
|
|
World/World.cpp
|
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(
|
|
|
|
|
${CMAKE_BINARY_DIR}
|
2010-06-07 14:13:56 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/externals/mersennetwister
|
2010-06-07 15:59:21 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/externals/zlib
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/collision
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/collision/Management
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Configuration
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography
|
2010-06-09 00:34:22 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Cryptography/Authentication
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Database
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/DataStores
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Debugging
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic/CountedReference
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic/LinkedReference
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Dynamic
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Logging
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Packets
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Policies
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Threading
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/shared/Utilities
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game
|
2010-06-07 12:13:15 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Accounts
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Achievements
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Addons
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AI
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AI/CoreAI
|
2010-06-06 15:50:15 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AI/EventAI
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AI/ScriptedAI
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/AuctionHouse/AuctionHouseBot
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/BattleGrounds
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/BattleGrounds/Zones
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Calendar
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Chat
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Chat/Channels
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Chat/Commands
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Combat
|
2010-06-07 12:13:15 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Conditions
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/DataStores
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/DungeonFinding
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Creature
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Corpse
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/DynamicObject
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/GameObject
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item
|
2010-06-08 13:05:47 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Item/Container
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object/Updates
|
2010-06-06 14:08:07 +02:00
|
|
|
${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
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Entities/Transport
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Events
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Globals
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Grids/Cells
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Grids/Notifiers
|
|
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Grids
|
2010-06-06 14:08:07 +02:00
|
|
|
${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
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Miscellaneous
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Movement
|
2010-06-06 17:23:31 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Movement/MovementGenerators
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Movement/Waypoints
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/OutdoorPvP
|
2010-06-07 23:40:17 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/OutdoorPvP/Zones
|
2010-06-06 14:08:07 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Pools
|
2010-06-07 15:59:21 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders
|
2010-06-06 14:08:07 +02:00
|
|
|
${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
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol
|
2010-06-08 13:05:47 -06:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Server/Protocol/Handlers
|
2010-06-07 22:58:24 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/src/server/game/Server
|
2010-06-06 14:08:07 +02:00
|
|
|
${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-06-07 23:40:17 +02:00
|
|
|
${ACE_INCLUDE_DIR}
|
2010-04-06 15:53:27 +02:00
|
|
|
)
|
|
|
|
|
|
2010-07-27 05:40:21 +02:00
|
|
|
if(NOT SCRIPTS)
|
2010-06-30 18:46:55 +02:00
|
|
|
set(game_STAT_SRCS
|
|
|
|
|
${game_STAT_SRCS}
|
2010-06-21 07:17:26 +02:00
|
|
|
AI/ScriptedAI/ScriptedEscortAI.cpp
|
|
|
|
|
AI/ScriptedAI/ScriptedCreature.cpp
|
|
|
|
|
AI/ScriptedAI/ScriptedFollowerAI.cpp
|
|
|
|
|
AI/ScriptedAI/ScriptedGuardAI.cpp
|
|
|
|
|
AI/ScriptedAI/ScriptedSimpleAI.cpp
|
|
|
|
|
)
|
|
|
|
|
message("-- Added basic scriptAI-engines to GAME library")
|
|
|
|
|
endif()
|
2010-01-19 11:36:05 +01:00
|
|
|
|
2010-06-30 13:10:13 +02:00
|
|
|
# Add gamePCH.cpp to project on Windows
|
|
|
|
|
if(MSVC)
|
|
|
|
|
set(game_STAT_SRCS
|
|
|
|
|
PrecompiledHeaders/gamePCH.cpp
|
|
|
|
|
${game_STAT_SRCS})
|
|
|
|
|
endif()
|
|
|
|
|
|
2009-01-17 09:23:33 -05:00
|
|
|
add_library(game STATIC ${game_STAT_SRCS})
|
2010-01-24 20:02:05 +01:00
|
|
|
|
2010-06-21 07:17:26 +02:00
|
|
|
add_dependencies(game revision.h)
|
2010-05-18 00:17:14 +02:00
|
|
|
|
2010-06-21 07:17:26 +02:00
|
|
|
# Generate precompiled header
|
2010-07-27 05:40:21 +02:00
|
|
|
if(PCH)
|
2010-06-30 13:10:13 +02:00
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
|
add_precompiled_header(game ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders/gamePCH.h)
|
|
|
|
|
elseif(MSVC)
|
|
|
|
|
add_native_precompiled_header(game ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders/gamePCH)
|
|
|
|
|
endif()
|
2010-06-21 07:17:26 +02:00
|
|
|
endif()
|