Cmake build system for trinity

--HG--
branch : trunk
This commit is contained in:
raczman
2009-01-17 09:23:33 -05:00
parent 87d9f3261e
commit 09ddc711f4
29 changed files with 1684 additions and 1 deletions
+19
View File
@@ -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)
+2 -1
View File
@@ -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();
}
*/