aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/bindings/CMakeLists.txt5
-rw-r--r--src/bindings/interface/CMakeLists.txt19
-rw-r--r--src/bindings/interface/ScriptMgr.cpp3
-rw-r--r--src/bindings/scripts/CMakeLists.txt389
-rw-r--r--src/framework/CMakeLists.txt8
-rw-r--r--src/game/CMakeLists.txt266
-rw-r--r--src/shared/Auth/CMakeLists.txt17
-rw-r--r--src/shared/CMakeLists.txt29
-rw-r--r--src/shared/Config/CMakeLists.txt15
-rw-r--r--src/shared/Database/CMakeLists.txt38
-rw-r--r--src/shared/vmap/CMakeLists.txt35
-rw-r--r--src/trinitycore/CMakeLists.txt53
-rw-r--r--src/trinityrealm/CMakeLists.txt45
14 files changed, 927 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 00000000000..8c8b9e0126f
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_subdirectory(framework)
+add_subdirectory(shared)
+add_subdirectory(trinityrealm)
+add_subdirectory(game)
+add_subdirectory(bindings)
+add_subdirectory(trinitycore)
diff --git a/src/bindings/CMakeLists.txt b/src/bindings/CMakeLists.txt
new file mode 100644
index 00000000000..6933b29fe2d
--- /dev/null
+++ b/src/bindings/CMakeLists.txt
@@ -0,0 +1,5 @@
+if(DO_SCRIPTS)
+add_subdirectory(scripts)
+else (DO_SCRIPTS)
+add_subdirectory(interface)
+endif(DO_SCRIPTS)
diff --git a/src/bindings/interface/CMakeLists.txt b/src/bindings/interface/CMakeLists.txt
new file mode 100644
index 00000000000..4a8f0872422
--- /dev/null
+++ b/src/bindings/interface/CMakeLists.txt
@@ -0,0 +1,19 @@
+
+########### next target ###############
+
+SET(trinityinterface_LIB_SRCS
+ ScriptMgr.cpp
+ ScriptMgr.h
+ config.h
+ system.cpp
+ Scripts/sc_default.cpp
+ Scripts/sc_defines.cpp
+ Scripts/sc_defines.h
+)
+
+add_library(trinityinterface STATIC ${trinityinterface_LIB_SRCS})
+
+target_link_libraries(trinityinterface)
+
+set_target_properties(trinityinterface PROPERTIES VERSION 4.2.0 SOVERSION 4)
+install(TARGETS trinityinterface DESTINATION lib)
diff --git a/src/bindings/interface/ScriptMgr.cpp b/src/bindings/interface/ScriptMgr.cpp
index 027b5b1fe57..8e6f2e421b6 100644
--- a/src/bindings/interface/ScriptMgr.cpp
+++ b/src/bindings/interface/ScriptMgr.cpp
@@ -276,7 +276,7 @@ InstanceData* CreateInstanceData(Map *map)
return tmpscript->GetInstanceData(map);
}
-*/
+
void ScriptedAI::UpdateAI(const uint32)
{
//Check if we have a current target
@@ -319,3 +319,4 @@ void ScriptedAI::DoGoHome()
if( !m_creature->getVictim() && m_creature->isAlive() )
m_creature->GetMotionMaster()->MoveTargetedHome();
}
+*/
diff --git a/src/bindings/scripts/CMakeLists.txt b/src/bindings/scripts/CMakeLists.txt
new file mode 100644
index 00000000000..636530b9527
--- /dev/null
+++ b/src/bindings/scripts/CMakeLists.txt
@@ -0,0 +1,389 @@
+
+########### next target ###############
+
+SET(trinityscript_LIB_SRCS
+ ScriptMgr.cpp
+ ScriptMgr.h
+ include/precompiled.cpp
+ include/precompiled.h
+ include/sc_creature.cpp
+ include/sc_creature.h
+ include/sc_gossip.h
+ include/sc_instance.h
+ scripts/areatrigger/areatrigger_scripts.cpp
+ scripts/boss/boss_emeriss.cpp
+ scripts/boss/boss_lethon.cpp
+ scripts/boss/boss_taerar.cpp
+ scripts/boss/boss_ysondre.cpp
+ scripts/creature/mob_event_ai.cpp
+ scripts/creature/mob_event_ai.h
+ scripts/creature/mob_generic_creature.cpp
+ scripts/creature/simple_ai.cpp
+ scripts/creature/simple_ai.h
+ scripts/custom/custom_example.cpp
+ scripts/custom/custom_gossip_codebox.cpp
+ scripts/custom/test.cpp
+ scripts/go/go_scripts.cpp
+ scripts/guard/guard_ai.cpp
+ scripts/guard/guard_ai.h
+ scripts/guard/guards.cpp
+ scripts/item/item_scripts.cpp
+ scripts/item/item_test.cpp
+ scripts/npc/npc_escortAI.cpp
+ scripts/npc/npc_escortAI.h
+ scripts/npc/npc_innkeeper.cpp
+ scripts/npc/npc_professions.cpp
+ scripts/npc/npcs_special.cpp
+ scripts/zone/arathi_highlands/arathi_highlands.cpp
+ scripts/zone/alterac_mountains/alterac_mountains.cpp
+ scripts/zone/ashenvale_forest/ashenvale.cpp
+ scripts/zone/aunchindoun/auchenai_crypts/boss_exarch_maladaar.cpp
+ scripts/zone/aunchindoun/auchenai_crypts/boss_shirrak_the_dead_watcher.cpp
+ scripts/zone/aunchindoun/mana_tombs/boss_nexusprince_shaffar.cpp
+ scripts/zone/aunchindoun/mana_tombs/boss_pandemonius.cpp
+ scripts/zone/aunchindoun/sethekk_halls/boss_darkweaver_syth.cpp
+ scripts/zone/aunchindoun/sethekk_halls/boss_tailonking_ikiss.cpp
+ scripts/zone/aunchindoun/sethekk_halls/def_sethekk_halls.h
+ scripts/zone/aunchindoun/sethekk_halls/instance_sethekk_halls.cpp
+ scripts/zone/aunchindoun/shadow_labyrinth/boss_ambassador_hellmaw.cpp
+ scripts/zone/aunchindoun/shadow_labyrinth/boss_blackheart_the_inciter.cpp
+ scripts/zone/aunchindoun/shadow_labyrinth/boss_grandmaster_vorpil.cpp
+ scripts/zone/aunchindoun/shadow_labyrinth/boss_murmur.cpp
+ scripts/zone/aunchindoun/shadow_labyrinth/def_shadow_labyrinth.h
+ scripts/zone/aunchindoun/shadow_labyrinth/instance_shadow_labyrinth.cpp
+ scripts/zone/azshara/azshara.cpp
+ scripts/zone/azshara/boss_azuregos.cpp
+ scripts/zone/azuremyst_isle/azuremyst_isle.cpp
+ scripts/zone/barrens/the_barrens.cpp
+ scripts/zone/black_temple/black_temple.cpp
+ scripts/zone/black_temple/boss_bloodboil.cpp
+ scripts/zone/black_temple/boss_illidan.cpp
+ scripts/zone/black_temple/boss_mother_shahraz.cpp
+ scripts/zone/black_temple/boss_reliquary_of_souls.cpp
+ scripts/zone/black_temple/boss_shade_of_akama.cpp
+ scripts/zone/black_temple/boss_supremus.cpp
+ scripts/zone/black_temple/boss_teron_gorefiend.cpp
+ scripts/zone/black_temple/boss_warlord_najentus.cpp
+ scripts/zone/black_temple/def_black_temple.h
+ scripts/zone/black_temple/illidari_council.cpp
+ scripts/zone/black_temple/instance_black_temple.cpp
+ scripts/zone/blackrock_depths/blackrock_depths.cpp
+ scripts/zone/blackrock_depths/instance_blackrock_depths.cpp
+ scripts/zone/blackrock_depths/def_blackrock_depths.h
+ scripts/zone/blackrock_depths/boss_ambassador_flamelash.cpp
+ scripts/zone/blackrock_depths/boss_angerrel.cpp
+ scripts/zone/blackrock_depths/boss_anubshiah.cpp
+ scripts/zone/blackrock_depths/boss_doomrel.cpp
+ scripts/zone/blackrock_depths/boss_doperel.cpp
+ scripts/zone/blackrock_depths/boss_emperor_dagran_thaurissan.cpp
+ scripts/zone/blackrock_depths/boss_general_angerforge.cpp
+ scripts/zone/blackrock_depths/boss_gloomrel.cpp
+ scripts/zone/blackrock_depths/boss_gorosh_the_dervish.cpp
+ scripts/zone/blackrock_depths/boss_grizzle.cpp
+ scripts/zone/blackrock_depths/boss_haterel.cpp
+ scripts/zone/blackrock_depths/boss_high_interrogator_gerstahn.cpp
+ scripts/zone/blackrock_depths/boss_magmus.cpp
+ scripts/zone/blackrock_depths/boss_moira_bronzebeard.cpp
+ scripts/zone/blackrock_depths/boss_seethrel.cpp
+ scripts/zone/blackrock_depths/boss_vilerel.cpp
+ scripts/zone/blackrock_spire/boss_drakkisath.cpp
+ scripts/zone/blackrock_spire/boss_gyth.cpp
+ scripts/zone/blackrock_spire/boss_halycon.cpp
+ scripts/zone/blackrock_spire/boss_highlord_omokk.cpp
+ scripts/zone/blackrock_spire/boss_mother_smolderweb.cpp
+ scripts/zone/blackrock_spire/boss_overlord_wyrmthalak.cpp
+ scripts/zone/blackrock_spire/boss_pyroguard_emberseer.cpp
+ scripts/zone/blackrock_spire/boss_quartermaster_zigris.cpp
+ scripts/zone/blackrock_spire/boss_rend_blackhand.cpp
+ scripts/zone/blackrock_spire/boss_shadow_hunter_voshgajin.cpp
+ scripts/zone/blackrock_spire/boss_the_beast.cpp
+ scripts/zone/blackrock_spire/boss_warmaster_voone.cpp
+ scripts/zone/blackwing_lair/boss_broodlord_lashlayer.cpp
+ scripts/zone/blackwing_lair/boss_chromaggus.cpp
+ scripts/zone/blackwing_lair/boss_ebonroc.cpp
+ scripts/zone/blackwing_lair/boss_firemaw.cpp
+ scripts/zone/blackwing_lair/boss_flamegor.cpp
+ scripts/zone/blackwing_lair/boss_nefarian.cpp
+ scripts/zone/blackwing_lair/boss_razorgore.cpp
+ scripts/zone/blackwing_lair/boss_vaelastrasz.cpp
+ scripts/zone/blackwing_lair/boss_victor_nefarius.cpp
+ scripts/zone/blackwing_lair/instance_blackwing_lair.cpp
+ scripts/zone/blades_edge_mountains/blades_edge_mountains.cpp
+ scripts/zone/blasted_lands/blasted_lands.cpp
+ scripts/zone/blasted_lands/boss_kruul.cpp
+ scripts/zone/bloodmyst_isle/bloodmyst_isle.cpp
+ scripts/zone/burning_steppes/burning_steppes.cpp
+ scripts/zone/caverns_of_time/dark_portal/def_dark_portal.h
+ scripts/zone/caverns_of_time/dark_portal/instance_dark_portal.cpp
+ scripts/zone/caverns_of_time/dark_portal/dark_portal.cpp
+ scripts/zone/caverns_of_time/dark_portal/boss_aeonus.cpp
+ scripts/zone/caverns_of_time/dark_portal/boss_chrono_lord_deja.cpp
+ scripts/zone/caverns_of_time/dark_portal/boss_temporus.cpp
+ scripts/zone/caverns_of_time/hyjal/boss_archimonde.cpp
+ scripts/zone/caverns_of_time/hyjal/def_hyjal.h
+ scripts/zone/caverns_of_time/hyjal/hyjal.cpp
+ scripts/zone/caverns_of_time/hyjal/hyjalAI.cpp
+ scripts/zone/caverns_of_time/hyjal/hyjalAI.h
+ scripts/zone/caverns_of_time/hyjal/instance_hyjal.cpp
+ scripts/zone/caverns_of_time/old_hillsbrad/boss_captain_skarloc.cpp
+ scripts/zone/caverns_of_time/old_hillsbrad/boss_epoch_hunter.cpp
+ scripts/zone/caverns_of_time/old_hillsbrad/boss_leutenant_drake.cpp
+ scripts/zone/caverns_of_time/old_hillsbrad/def_old_hillsbrad.h
+ scripts/zone/caverns_of_time/old_hillsbrad/instance_old_hillsbrad.cpp
+ scripts/zone/caverns_of_time/old_hillsbrad/old_hillsbrad.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_fathomlord_karathress.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_hydross_the_unstable.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_lurker_below.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/boss_morogrim_tidewalker.cpp
+ scripts/zone/coilfang_resevoir/serpent_shrine/def_serpent_shrine.h
+ scripts/zone/coilfang_resevoir/serpent_shrine/instance_serpent_shrine.cpp
+ scripts/zone/coilfang_resevoir/steam_vault/boss_hydromancer_thespia.cpp
+ scripts/zone/coilfang_resevoir/steam_vault/boss_mekgineer_steamrigger.cpp
+ scripts/zone/coilfang_resevoir/steam_vault/boss_warlord_kalithresh.cpp
+ scripts/zone/coilfang_resevoir/steam_vault/def_steam_vault.h
+ scripts/zone/coilfang_resevoir/steam_vault/instance_steam_vault.cpp
+ scripts/zone/coilfang_resevoir/underbog/boss_hungarfen.cpp
+ scripts/zone/darkshore/darkshore.cpp
+ scripts/zone/deadmines/def_deadmines.h
+ scripts/zone/deadmines/deadmines.cpp
+ scripts/zone/dun_morogh/dun_morogh.cpp
+ scripts/zone/dustwallow_marsh/dustwallow_marsh.cpp
+ scripts/zone/eastern_plaguelands/eastern_plaguelands.cpp
+ scripts/zone/elwynn_forest/elwynn_forest.cpp
+ scripts/zone/eversong_woods/eversong_woods.cpp
+ scripts/zone/felwood/felwood.cpp
+ scripts/zone/feralas/feralas.cpp
+ scripts/zone/ghostlands/ghostlands.cpp
+ scripts/zone/gruuls_lair/boss_gruul.cpp
+ scripts/zone/gruuls_lair/boss_high_king_maulgar.cpp
+ scripts/zone/gruuls_lair/def_gruuls_lair.h
+ scripts/zone/gruuls_lair/instance_gruuls_lair.cpp
+ scripts/zone/hellfire_citadel/blood_furnace/boss_broggok.cpp
+ scripts/zone/hellfire_citadel/blood_furnace/boss_kelidan_the_breaker.cpp
+ scripts/zone/hellfire_citadel/blood_furnace/boss_the_maker.cpp
+ scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp
+ scripts/zone/hellfire_citadel/hellfire_ramparts/boss_watchkeeper_gargolmar.cpp
+ scripts/zone/hellfire_citadel/magtheridons_lair/boss_magtheridon.cpp
+ scripts/zone/hellfire_citadel/magtheridons_lair/def_magtheridons_lair.h
+ scripts/zone/hellfire_citadel/magtheridons_lair/instance_magtheridons_lair.cpp
+ scripts/zone/hellfire_citadel/shattered_halls/boss_nethekurse.cpp
+ scripts/zone/hellfire_citadel/shattered_halls/boss_warbringer_omrogg.cpp
+ scripts/zone/hellfire_citadel/shattered_halls/def_shattered_halls.h
+ scripts/zone/hellfire_citadel/shattered_halls/instance_shattered_halls.cpp
+ scripts/zone/hellfire_citadel/shattered_halls/boss_warchief_kargath_bladefist.cpp
+ scripts/zone/hellfire_peninsula/boss_doomlord_kazzak.cpp
+ scripts/zone/hellfire_peninsula/hellfire_peninsula.cpp
+ scripts/zone/ironforge/ironforge.cpp
+ scripts/zone/isle_of_queldanas/isle_of_queldanas.cpp
+ scripts/zone/karazhan/boss_curator.cpp
+ scripts/zone/karazhan/boss_maiden_of_virtue.cpp
+ scripts/zone/karazhan/boss_midnight.cpp
+ scripts/zone/karazhan/boss_moroes.cpp
+ scripts/zone/karazhan/boss_netherspite.cpp
+ scripts/zone/karazhan/boss_nightbane.cpp
+ scripts/zone/karazhan/boss_prince_malchezaar.cpp
+ scripts/zone/karazhan/boss_shade_of_aran.cpp
+ scripts/zone/karazhan/boss_terestian_illhoof.cpp
+ scripts/zone/karazhan/bosses_opera.cpp
+ scripts/zone/karazhan/def_karazhan.h
+ scripts/zone/karazhan/instance_karazhan.cpp
+ scripts/zone/karazhan/karazhan.cpp
+ scripts/zone/loch_modan/loch_modan.cpp
+ scripts/zone/magisters_terrace/boss_felblood_kaelthas.cpp
+ scripts/zone/magisters_terrace/boss_priestess_delrissa.cpp
+ scripts/zone/magisters_terrace/boss_selin_fireheart.cpp
+ scripts/zone/magisters_terrace/boss_vexallus.cpp
+ scripts/zone/magisters_terrace/def_magisters_terrace.h
+ scripts/zone/magisters_terrace/instance_magisters_terrace.cpp
+ scripts/zone/maraudon/boss_celebras_the_cursed.cpp
+ scripts/zone/maraudon/boss_landslide.cpp
+ scripts/zone/maraudon/boss_noxxion.cpp
+ scripts/zone/maraudon/boss_princess_theradras.cpp
+ scripts/zone/molten_core/boss_baron_geddon.cpp
+ scripts/zone/molten_core/boss_garr.cpp
+ scripts/zone/molten_core/boss_gehennas.cpp
+ scripts/zone/molten_core/boss_golemagg.cpp
+ scripts/zone/molten_core/boss_lucifron.cpp
+ scripts/zone/molten_core/boss_magmadar.cpp
+ scripts/zone/molten_core/boss_majordomo_executus.cpp
+ scripts/zone/molten_core/boss_ragnaros.cpp
+ scripts/zone/molten_core/boss_shazzrah.cpp
+ scripts/zone/molten_core/boss_sulfuron_harbinger.cpp
+ scripts/zone/molten_core/def_molten_core.h
+ scripts/zone/molten_core/instance_molten_core.cpp
+ scripts/zone/molten_core/molten_core.cpp
+ scripts/zone/moonglade/moonglade.cpp
+ scripts/zone/mulgore/mulgore.cpp
+ scripts/zone/nagrand/nagrand.cpp
+ scripts/zone/naxxramas/boss_anubrekhan.cpp
+ scripts/zone/naxxramas/boss_faerlina.cpp
+ scripts/zone/naxxramas/boss_gluth.cpp
+ scripts/zone/naxxramas/boss_gothik.cpp
+ scripts/zone/naxxramas/boss_grobbulus.cpp
+ scripts/zone/naxxramas/boss_heigan.cpp
+ scripts/zone/naxxramas/boss_highlord_mograine.cpp
+ scripts/zone/naxxramas/boss_kelthuzad.cpp
+ scripts/zone/naxxramas/boss_four_horsemen.cpp
+ scripts/zone/naxxramas/boss_loatheb.cpp
+ scripts/zone/naxxramas/boss_maexxna.cpp
+ scripts/zone/naxxramas/boss_noth.cpp
+ scripts/zone/naxxramas/boss_patchwerk.cpp
+ scripts/zone/naxxramas/boss_razuvious.cpp
+ scripts/zone/naxxramas/boss_sapphiron.cpp
+ scripts/zone/naxxramas/boss_thaddius.cpp
+ scripts/zone/naxxramas/instance_naxxramas.cpp
+ scripts/zone/netherstorm/netherstorm.cpp
+ scripts/zone/onyxias_lair/boss_onyxia.cpp
+ scripts/zone/orgrimmar/orgrimmar.cpp
+ scripts/zone/razorfen_downs/boss_amnennar_the_coldbringer.cpp
+ scripts/zone/razorfen_kraul/razorfen_kraul.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_ayamiss.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_buru.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_kurinnaxx.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_moam.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_ossirian.cpp
+ scripts/zone/ruins_of_ahnqiraj/boss_rajaxx.cpp
+ scripts/zone/ruins_of_ahnqiraj/instance_ruins_of_ahnqiraj.cpp
+ scripts/zone/scarlet_monastery/boss_arcanist_doan.cpp
+ scripts/zone/scarlet_monastery/boss_azshir_the_sleepless.cpp
+ scripts/zone/scarlet_monastery/boss_bloodmage_thalnos.cpp
+ scripts/zone/scarlet_monastery/boss_herod.cpp
+ scripts/zone/scarlet_monastery/boss_high_inquisitor_fairbanks.cpp
+ scripts/zone/scarlet_monastery/boss_houndmaster_loksey.cpp
+ scripts/zone/scarlet_monastery/boss_interrogator_vishas.cpp
+ scripts/zone/scarlet_monastery/boss_scorn.cpp
+ scripts/zone/scarlet_monastery/boss_headless_horseman.cpp
+ scripts/zone/scarlet_monastery/boss_mograine_and_whitemane.cpp
+ scripts/zone/scarlet_monastery/instance_scarlet_monastery.cpp
+ scripts/zone/scarlet_monastery/def_scarlet_monastery.h
+ scripts/zone/scholomance/boss_darkmaster_gandling.cpp
+ scripts/zone/scholomance/boss_death_knight_darkreaver.cpp
+ scripts/zone/scholomance/boss_doctor_theolen_krastinov.cpp
+ scripts/zone/scholomance/boss_illucia_barov.cpp
+ scripts/zone/scholomance/boss_instructor_malicia.cpp
+ scripts/zone/scholomance/boss_jandice_barov.cpp
+ scripts/zone/scholomance/boss_kormok.cpp
+ scripts/zone/scholomance/boss_lord_alexei_barov.cpp
+ scripts/zone/scholomance/boss_lorekeeper_polkelt.cpp
+ scripts/zone/scholomance/boss_ras_frostwhisper.cpp
+ scripts/zone/scholomance/boss_the_ravenian.cpp
+ scripts/zone/scholomance/boss_vectus.cpp
+ scripts/zone/scholomance/def_scholomance.h
+ scripts/zone/scholomance/instance_scholomance.cpp
+ scripts/zone/searing_gorge/searing_gorge.cpp
+ scripts/zone/shadowfang_keep/def_shadowfang_keep.h
+ scripts/zone/shadowfang_keep/instance_shadowfang_keep.cpp
+ scripts/zone/shadowfang_keep/shadowfang_keep.cpp
+ scripts/zone/shadowmoon_valley/boss_doomwalker.cpp
+ scripts/zone/shadowmoon_valley/shadowmoon_valley.cpp
+ scripts/zone/shattrath/shattrath_city.cpp
+ scripts/zone/silithus/silithus.cpp
+ scripts/zone/silvermoon/silvermoon_city.cpp
+ scripts/zone/silverpine_forest/silverpine_forest.cpp
+ scripts/zone/stonetalon_mountains/stonetalon_mountains.cpp
+ scripts/zone/stormwind/stormwind_city.cpp
+ scripts/zone/stranglethorn_vale/stranglethorn_vale.cpp
+ scripts/zone/stratholme/boss_baron_rivendare.cpp
+ scripts/zone/stratholme/boss_baroness_anastari.cpp
+ scripts/zone/stratholme/boss_cannon_master_willey.cpp
+ scripts/zone/stratholme/boss_dathrohan_balnazzar.cpp
+ scripts/zone/stratholme/boss_magistrate_barthilas.cpp
+ scripts/zone/stratholme/boss_maleki_the_pallid.cpp
+ scripts/zone/stratholme/boss_nerubenkan.cpp
+ scripts/zone/stratholme/boss_order_of_silver_hand.cpp
+ scripts/zone/stratholme/boss_postmaster_malown.cpp
+ scripts/zone/stratholme/boss_ramstein_the_gorger.cpp
+ scripts/zone/stratholme/boss_timmy_the_cruel.cpp
+ scripts/zone/stratholme/def_stratholme.h
+ scripts/zone/stratholme/instance_stratholme.cpp
+ scripts/zone/stratholme/stratholme.cpp
+ scripts/zone/sunwell_plateau/boss_eredar_twins.cpp
+ scripts/zone/sunwell_plateau/boss_felmyst.cpp
+ scripts/zone/sunwell_plateau/boss_brutallus.cpp
+ scripts/zone/sunwell_plateau/boss_kalecgos.cpp
+ scripts/zone/sunwell_plateau/def_sunwell_plateau.h
+ scripts/zone/sunwell_plateau/instance_sunwell_plateau.cpp
+ scripts/zone/tanaris/tanaris.cpp
+ scripts/zone/tempest_keep/arcatraz/arcatraz.cpp
+ scripts/zone/tempest_keep/arcatraz/boss_harbinger_skyriss.cpp
+ scripts/zone/tempest_keep/arcatraz/def_arcatraz.h
+ scripts/zone/tempest_keep/arcatraz/instance_arcatraz.cpp
+ scripts/zone/tempest_keep/botanica/boss_high_botanist_freywinn.cpp
+ scripts/zone/tempest_keep/botanica/boss_laj.cpp
+ scripts/zone/tempest_keep/botanica/boss_warp_splinter.cpp
+ scripts/zone/tempest_keep/the_eye/boss_alar.cpp
+ scripts/zone/tempest_keep/the_eye/boss_astromancer.cpp
+ scripts/zone/tempest_keep/the_eye/boss_kaelthas.cpp
+ scripts/zone/tempest_keep/the_eye/boss_void_reaver.cpp
+ scripts/zone/tempest_keep/the_eye/def_the_eye.h
+ scripts/zone/tempest_keep/the_eye/instance_the_eye.cpp
+ scripts/zone/tempest_keep/the_eye/the_eye.cpp
+ scripts/zone/tempest_keep/the_mechanar/boss_gatewatcher_gyrokill.cpp
+ scripts/zone/tempest_keep/the_mechanar/boss_gatewatcher_ironhand.cpp
+ scripts/zone/tempest_keep/the_mechanar/boss_nethermancer_sepethrea.cpp
+ scripts/zone/tempest_keep/the_mechanar/boss_pathaleon_the_calculator.cpp
+ scripts/zone/tempest_keep/the_mechanar/def_mechanar.h
+ scripts/zone/tempest_keep/the_mechanar/instance_mechanar.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_bug_trio.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_cthun.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_fankriss.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_huhuran.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_ouro.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_sartura.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_skeram.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_twinemperors.cpp
+ scripts/zone/temple_of_ahnqiraj/boss_viscidus.cpp
+ scripts/zone/temple_of_ahnqiraj/def_temple_of_ahnqiraj.h
+ scripts/zone/temple_of_ahnqiraj/instance_temple_of_ahnqiraj.cpp
+ scripts/zone/temple_of_ahnqiraj/mob_anubisath_sentinel.cpp
+ scripts/zone/terokkar_forest/terokkar_forest.cpp
+ scripts/zone/thunder_bluff/thunder_bluff.cpp
+ scripts/zone/tirisfal_glades/tirisfal_glades.cpp
+ scripts/zone/thousand_needles/thousand_needles.cpp
+ scripts/zone/uldaman/boss_archaedas.cpp
+ scripts/zone/uldaman/instance_uldaman.cpp
+ scripts/zone/uldaman/boss_ironaya.cpp
+ scripts/zone/uldaman/uldaman.cpp
+ scripts/zone/undercity/undercity.cpp
+ scripts/zone/wailing_caverns/instance_wailing_caverns.cpp
+ scripts/zone/western_plaguelands/western_plaguelands.cpp
+ scripts/zone/westfall/westfall.cpp
+ scripts/zone/winterspring/winterspring.cpp
+ scripts/zone/zangarmarsh/zangarmarsh.cpp
+ scripts/zone/zulaman/boss_akilzon.cpp
+ scripts/zone/zulaman/boss_halazzi.cpp
+ scripts/zone/zulaman/boss_hexlord.cpp
+ scripts/zone/zulaman/boss_janalai.cpp
+ scripts/zone/zulaman/boss_nalorakk.cpp
+ scripts/zone/zulaman/boss_zuljin.cpp
+ scripts/zone/zulaman/def_zulaman.h
+ scripts/zone/zulaman/instance_zulaman.cpp
+ scripts/zone/zulaman/zulaman.cpp
+ scripts/zone/zulfarrak/zulfarrak.cpp
+ scripts/zone/zulgurub/boss_arlokk.cpp
+ scripts/zone/zulgurub/boss_gahzranka.cpp
+ scripts/zone/zulgurub/boss_grilek.cpp
+ scripts/zone/zulgurub/boss_hakkar.cpp
+ scripts/zone/zulgurub/boss_hazzarah.cpp
+ scripts/zone/zulgurub/boss_jeklik.cpp
+ scripts/zone/zulgurub/boss_jindo.cpp
+ scripts/zone/zulgurub/boss_mandokir.cpp
+ scripts/zone/zulgurub/boss_marli.cpp
+ scripts/zone/zulgurub/boss_renataki.cpp
+ scripts/zone/zulgurub/boss_thekal.cpp
+ scripts/zone/zulgurub/boss_venoxis.cpp
+ scripts/zone/zulgurub/boss_wushoolay.cpp
+ scripts/zone/zulgurub/def_zulgurub.h
+ scripts/zone/zulgurub/instance_zulgurub.cpp
+ system.cpp
+)
+
+add_library(trinityscript STATIC ${trinityscript_LIB_SRCS})
+
+target_link_libraries(trinityscript)
+
+set_target_properties(trinityscript PROPERTIES VERSION 4.2.0 SOVERSION 4)
+install(TARGETS trinityscript DESTINATION lib)
+
diff --git a/src/framework/CMakeLists.txt b/src/framework/CMakeLists.txt
new file mode 100644
index 00000000000..41ca661de98
--- /dev/null
+++ b/src/framework/CMakeLists.txt
@@ -0,0 +1,8 @@
+SET(trinityframework_STAT_SRCS
+ Policies/ObjectLifeTime.cpp
+ Utilities/EventProcessor.cpp
+)
+include_directories(
+${CMAKE_CURRENT_SRC_DIR}
+)
+add_library(trinityframework STATIC ${trinityframework_STAT_SRCS})
diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt
new file mode 100644
index 00000000000..db1e31f2414
--- /dev/null
+++ b/src/game/CMakeLists.txt
@@ -0,0 +1,266 @@
+
+########### next target ###############
+
+SET(game_STAT_SRCS
+ AccountMgr.cpp
+ AccountMgr.h
+ AddonHandler.cpp
+ AddonHandler.h
+ AggressorAI.cpp
+ AggressorAI.h
+ AnimalRandomMovementGenerator.h
+ ArenaTeam.cpp
+ ArenaTeam.h
+ ArenaTeamHandler.cpp
+ AuctionHouse.cpp
+ AuctionHouseObject.h
+ Bag.cpp
+ Bag.h
+ BattleGround.cpp
+ BattleGroundAA.cpp
+ BattleGroundAB.cpp
+ BattleGroundAV.cpp
+ BattleGroundBE.cpp
+ BattleGroundEY.cpp
+ BattleGroundNA.cpp
+ BattleGroundRL.cpp
+ BattleGroundWS.cpp
+ BattleGround.h
+ BattleGroundAA.h
+ BattleGroundAB.h
+ BattleGroundAV.h
+ BattleGroundBE.h
+ BattleGroundEY.h
+ BattleGroundNA.h
+ BattleGroundRL.h
+ BattleGroundWS.h
+ BattleGroundHandler.cpp
+ BattleGroundMgr.cpp
+ BattleGroundMgr.h
+ Cell.h
+ CellImpl.h
+ Channel.cpp
+ Channel.h
+ ChannelHandler.cpp
+ ChannelMgr.h
+ CharacterHandler.cpp
+ Chat.cpp
+ Chat.h
+ ChatHandler.cpp
+ CombatHandler.cpp
+ ConfusedMovementGenerator.cpp
+ ConfusedMovementGenerator.h
+ Corpse.cpp
+ Corpse.h
+ CreatureAI.cpp
+ CreatureAI.h
+ CreatureAIImpl.h
+ CreatureAIRegistry.cpp
+ CreatureAIRegistry.h
+ CreatureAISelector.cpp
+ CreatureAISelector.h
+ Creature.cpp
+ Creature.h
+ CreatureGroups.cpp
+ CreatureGroups.h
+ debugcmds.cpp
+ DestinationHolder.cpp
+ DestinationHolder.h
+ DestinationHolderImp.h
+ DuelHandler.cpp
+ DynamicObject.cpp
+ DynamicObject.h
+ FleeingMovementGenerator.cpp
+ FleeingMovementGenerator.h
+ Formulas.h
+ GameEvent.cpp
+ GameEvent.h
+ GameObject.cpp
+ GameObject.h
+ GlobalEvents.cpp
+ GlobalEvents.h
+ GossipDef.cpp
+ GossipDef.h
+ GridDefines.h
+ GridNotifiers.cpp
+ GridNotifiers.h
+ GridNotifiersImpl.h
+ GridStates.cpp
+ GridStates.h
+ Group.cpp
+ Group.h
+ GroupHandler.cpp
+ GuardAI.cpp
+ GuardAI.h
+ Guild.cpp
+ Guild.h
+ GuildHandler.cpp
+ HomeMovementGenerator.cpp
+ HomeMovementGenerator.h
+ HostilRefManager.cpp
+ HostilRefManager.h
+ IdleMovementGenerator.cpp
+ IdleMovementGenerator.h
+ InstanceData.cpp
+ InstanceData.h
+ InstanceSaveMgr.cpp
+ InstanceSaveMgr.h
+ Item.cpp
+ Item.h
+ ItemEnchantmentMgr.cpp
+ ItemEnchantmentMgr.h
+ ItemHandler.cpp
+ ItemPrototype.h
+ Language.h
+ Level0.cpp
+ Level1.cpp
+ Level2.cpp
+ Level3.cpp
+ LFGHandler.cpp
+ LootHandler.cpp
+ LootMgr.cpp
+ LootMgr.h
+ Mail.cpp
+ Mail.h
+ Map.cpp
+ Map.h
+ MapInstanced.cpp
+ MapInstanced.h
+ MapManager.cpp
+ MapManager.h
+ MiscHandler.cpp
+ MotionMaster.cpp
+ MotionMaster.h
+ MovementGenerator.cpp
+ MovementGenerator.h
+ MovementGeneratorImpl.h
+ MovementHandler.cpp
+ NPCHandler.cpp
+ NPCHandler.h
+ NullCreatureAI.cpp
+ NullCreatureAI.h
+ ObjectAccessor.cpp
+ ObjectAccessor.h
+ Object.cpp
+ ObjectDefines.h
+ ObjectGridLoader.cpp
+ ObjectGridLoader.h
+ Object.h
+ ObjectMgr.cpp
+ ObjectMgr.h
+ Opcodes.cpp
+ Opcodes.h
+ OutdoorPvP.cpp
+ OutdoorPvP.h
+ OutdoorPvPEP.cpp
+ OutdoorPvPEP.h
+ OutdoorPvPHP.cpp
+ OutdoorPvPHP.h
+ OutdoorPvPMgr.cpp
+ OutdoorPvPMgr.h
+ OutdoorPvPNA.cpp
+ OutdoorPvPNA.h
+ OutdoorPvPObjectiveAI.cpp
+ OutdoorPvPObjectiveAI.h
+ OutdoorPvPSI.cpp
+ OutdoorPvPSI.h
+ OutdoorPvPTF.cpp
+ OutdoorPvPTF.h
+ OutdoorPvPZM.cpp
+ OutdoorPvPZM.h
+ Path.h
+ PetAI.cpp
+ PetAI.h
+ Pet.cpp
+ Pet.h
+ PetHandler.cpp
+ PetitionsHandler.cpp
+ Player.cpp
+ Player.h
+ PlayerDump.cpp
+ PlayerDump.h
+ PointMovementGenerator.cpp
+ PointMovementGenerator.h
+ PossessedAI.cpp
+ PossessedAI.h
+ QueryHandler.cpp
+ QuestDef.cpp
+ QuestDef.h
+ QuestHandler.cpp
+ RandomMovementGenerator.cpp
+ RandomMovementGenerator.h
+ ReactorAI.cpp
+ ReactorAI.h
+ ScriptCalls.cpp
+ ScriptCalls.h
+ SharedDefines.h
+ SkillHandler.cpp
+ SpellAuraDefines.h
+ SpellAuras.cpp
+ SpellAuras.h
+ Spell.cpp
+ SpellEffects.cpp
+ Spell.h
+ SkillDiscovery.cpp
+ SkillDiscovery.h
+ SkillExtraItems.cpp
+ SkillExtraItems.h
+ SpellHandler.cpp
+ SocialMgr.cpp
+ SocialMgr.h
+ SpellMgr.cpp
+ SpellMgr.h
+ StatSystem.cpp
+ TargetedMovementGenerator.cpp
+ TargetedMovementGenerator.h
+ TaxiHandler.cpp
+ TemporarySummon.cpp
+ TemporarySummon.h
+ TicketHandler.cpp
+ TicketMgr.cpp
+ TicketMgr.h
+ tools.cpp
+ Tools.h
+ TotemAI.cpp
+ TotemAI.h
+ Totem.cpp
+ Totem.h
+ TradeHandler.cpp
+ Transports.cpp
+ Transports.h
+ ThreatManager.cpp
+ ThreatManager.h
+ Traveller.h
+ Unit.cpp
+ Unit.h
+ UnitEvents.h
+ UpdateData.cpp
+ UpdateData.h
+ UpdateFields.h
+ UpdateMask.h
+ VoiceChatHandler.cpp
+ WaypointManager.cpp
+ WaypointManager.h
+ WaypointMovementGenerator.cpp
+ WaypointMovementGenerator.h
+ Weather.cpp
+ Weather.h
+ World.cpp
+ World.h
+ WorldLog.cpp
+ WorldLog.h
+ WorldSession.cpp
+ WorldSession.h
+ WorldSocket.cpp
+ WorldSocket.h
+ WorldSocketMgr.cpp
+ WorldSocketMgr.h
+ FollowerReference.cpp
+ FollowerReference.h
+ FollowerRefManager.h
+ GroupReference.cpp
+ GroupReference.h
+ GroupRefManager.h
+)
+
+add_library(game STATIC ${game_STAT_SRCS})
diff --git a/src/shared/Auth/CMakeLists.txt b/src/shared/Auth/CMakeLists.txt
new file mode 100644
index 00000000000..f0714509e1d
--- /dev/null
+++ b/src/shared/Auth/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+########### next target ###############
+
+SET(trinityauth_STAT_SRCS
+ AuthCrypt.cpp
+ AuthCrypt.h
+ BigNumber.cpp
+ BigNumber.h
+ Hmac.cpp
+ Hmac.h
+ Sha1.cpp
+ Sha1.h
+ md5.c
+ md5.h
+)
+
+add_library(trinityauth STATIC ${trinityauth_STAT_SRCS})
diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
new file mode 100644
index 00000000000..006fa284c5d
--- /dev/null
+++ b/src/shared/CMakeLists.txt
@@ -0,0 +1,29 @@
+
+add_subdirectory(vmap)
+add_subdirectory(Auth)
+add_subdirectory(Config)
+add_subdirectory(Database)
+
+########### next target ###############
+
+SET(shared_STAT_SRCS
+ Base.cpp
+ Base.h
+ ByteBuffer.h
+ Common.cpp
+ Common.h
+ Errors.h
+ Log.cpp
+ Log.h
+ Mthread.cpp
+ Mthread.h
+ ProgressBar.cpp
+ ProgressBar.h
+ Timer.h
+ Util.cpp
+ Util.h
+ WorldPacket.h
+ SystemConfig.h
+)
+
+add_library(shared STATIC ${shared_STAT_SRCS})
diff --git a/src/shared/Config/CMakeLists.txt b/src/shared/Config/CMakeLists.txt
new file mode 100644
index 00000000000..54c3d80b869
--- /dev/null
+++ b/src/shared/Config/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+########### next target ###############
+
+SET(trinityconfig_STAT_SRCS
+ dotconfpp/dotconfpp.cpp
+ dotconfpp/dotconfpp.h
+ dotconfpp/mempool.cpp
+ dotconfpp/mempool.h
+ Config.cpp
+ Config.h
+ ConfigEnv.h
+)
+
+add_library(trinityconfig STATIC ${trinityconfig_STAT_SRCS})
+
diff --git a/src/shared/Database/CMakeLists.txt b/src/shared/Database/CMakeLists.txt
new file mode 100644
index 00000000000..a819a66dec7
--- /dev/null
+++ b/src/shared/Database/CMakeLists.txt
@@ -0,0 +1,38 @@
+SET(trinitydatabase_STAT_SRCS
+ DBCStores.cpp
+ DBCStores.h
+ DBCStructure.h
+ DBCfmt.cpp
+ Database.cpp
+ Database.h
+ DatabaseEnv.h
+ DatabaseImpl.h
+ DatabaseMysql.cpp
+ DatabasePostgre.cpp
+ DatabaseMysql.h
+ DatabasePostgre.h
+ DatabaseSqlite.cpp
+ DatabaseSqlite.h
+#Brian likes men
+ Field.cpp
+ Field.h
+ MySQLDelayThread.h
+ PGSQLDelayThread.h
+ QueryResult.h
+ QueryResultMysql.cpp
+ QueryResultMysql.h
+ QueryResultPostgre.cpp
+ QueryResultPostgre.h
+ QueryResultSqlite.cpp
+ QueryResultSqlite.h
+ SQLStorage.cpp
+ SQLStorage.h
+ SqlDelayThread.cpp
+ SqlDelayThread.h
+ SqlOperations.cpp
+ SqlOperations.h
+ dbcfile.cpp
+ dbcfile.h
+)
+
+add_library(trinitydatabase STATIC ${trinitydatabase_STAT_SRCS})
diff --git a/src/shared/vmap/CMakeLists.txt b/src/shared/vmap/CMakeLists.txt
new file mode 100644
index 00000000000..9ed30c0b44f
--- /dev/null
+++ b/src/shared/vmap/CMakeLists.txt
@@ -0,0 +1,35 @@
+
+########### next target ###############
+
+SET(vmaps_STAT_SRCS
+ AABSPTree.h
+ BaseModel.cpp
+ BaseModel.h
+ CoordModelMapping.cpp
+ CoordModelMapping.h
+ DebugCmdLogger.cpp
+ DebugCmdLogger.h
+ IVMapManager.h
+ ManagedModelContainer.cpp
+ ManagedModelContainer.h
+ ModelContainer.cpp
+ ModelContainer.h
+ NodeValueAccess.h
+ ShortBox.h
+ ShortVector.h
+ SubModel.cpp
+ SubModel.h
+ TileAssembler.cpp
+ TileAssembler.h
+ TreeNode.cpp
+ TreeNode.h
+ VMapDefinitions.h
+ VMapFactory.cpp
+ VMapFactory.h
+ VMapManager.cpp
+ VMapManager.h
+ VMapTools.h
+)
+
+add_library(vmaps STATIC ${vmaps_STAT_SRCS})
+
diff --git a/src/trinitycore/CMakeLists.txt b/src/trinitycore/CMakeLists.txt
new file mode 100644
index 00000000000..72ceca8dd33
--- /dev/null
+++ b/src/trinitycore/CMakeLists.txt
@@ -0,0 +1,53 @@
+
+########### next target ###############
+
+SET(trinity-core_SRCS
+CliRunnable.cpp
+CliRunnable.h
+Main.cpp
+Master.cpp
+Master.h
+RASocket.cpp
+RASocket.h
+WorldRunnable.cpp
+WorldRunnable.h
+)
+
+add_executable(trinity-core ${trinity-core_SRCS})
+add_definitions(
+-D_TRINITY_CORE_CONFIG='"${CONF_DIR}/trinitycore.conf"'
+)
+IF (DO_MYSQL)
+ SET_TARGET_PROPERTIES(trinity-core PROPERTIES LINK_FLAGS "-pthread")
+ENDIF(DO_MYSQL)
+
+
+
+target_link_libraries(
+trinity-core
+game
+shared
+zlib
+trinityframework
+trinitysockets
+trinitydatabase
+trinityauth
+trinityconfig
+vmaps
+ZThread
+g3dlite
+${SCRIPT_LIB}
+${MYSQL_LIBRARIES}
+${POSTGRE_LIBS}
+${SSLLIB}
+${ACE_LIBRARY}
+${ZLIB}
+)
+
+install(TARGETS trinity-core DESTINATION bin)
+
+
+########### install files ###############
+
+install(FILES trinitycore.conf.dist DESTINATION etc)
+
diff --git a/src/trinityrealm/CMakeLists.txt b/src/trinityrealm/CMakeLists.txt
new file mode 100644
index 00000000000..cddea04ea47
--- /dev/null
+++ b/src/trinityrealm/CMakeLists.txt
@@ -0,0 +1,45 @@
+########### next target ###############
+
+SET(trinity-realm_SRCS
+AuthCodes.h
+AuthSocket.cpp
+AuthSocket.h
+Main.cpp
+RealmList.cpp
+RealmList.h
+)
+
+add_executable(trinity-realm ${trinity-realm_SRCS})
+add_definitions(
+-D_TRINITY_REALM_CONFIG='"${CONF_DIR}/trinityrealm.conf"'
+)
+IF (DO_MYSQL)
+ #SET_TARGET_PROPERTIES(mangos-realmd PROPERTIES LINK_FLAGS ${MYSQL_LIBS})
+ SET_TARGET_PROPERTIES(trinity-realm PROPERTIES LINK_FLAGS "-pthread")
+ENDIF(DO_MYSQL)
+IF (DO_POSTGRE)
+ SET_TARGET_PROPERTIES(trinity-realmd PROPERTIES LINK_FLAGS ${POSTGRE_LIBS})
+ENDIF(DO_POSTGRE)
+
+
+target_link_libraries(
+trinity-realm
+shared
+trinityframework
+trinitysockets
+trinitydatabase
+trinityauth
+trinityconfig
+ZThread
+zlib
+${SSLLIB}
+${MYSQL_LIBRARIES}
+)
+
+install(TARGETS trinity-realm DESTINATION bin)
+
+
+########### install files ###############
+
+install(FILES trinityrealm.conf.dist DESTINATION etc)
+