*added new CMakeLists

-should speed up building on linux systems

--HG--
branch : trunk
This commit is contained in:
Rat
2010-01-24 20:02:05 +01:00
parent 50815cb7bc
commit 523dae2f63
5 changed files with 579 additions and 547 deletions
+7 -1
View File
@@ -34,6 +34,12 @@ ENDIF (CMAKE_SYSTEM_NAME MATCHES "Darwin")
SET_TARGET_PROPERTIES(trinity-core PROPERTIES LINK_FLAGS "${trinity-core_LINK_FLAGS}")
if(DO_SCRIPTS)
SET(SCRIPT_LIB "scripts")
else(DO_SCRIPTS)
SET(SCRIPT_LIB "")
endif(DO_SCRIPTS)
target_link_libraries(
trinity-core
game
@@ -46,9 +52,9 @@ trinityauth
trinityconfig
vmaps
g3dlite
${SCRIPT_LIB}
${READLINE_LIBRARY}
${TERMCAP_LIBRARY}
${SCRIPT_LIB}
${MYSQL_LIBRARIES}
${POSTGRESQL_LIBRARIES}
${SSLLIB}