Update: #842 ai_service links, for real.

This commit is contained in:
Matt Raykowski 2010-05-27 07:31:08 -05:00
parent 26393ab3ef
commit 6ac8354b90
2 changed files with 7 additions and 6 deletions

View file

@ -36,7 +36,7 @@ TARGET_LINK_LIBRARIES(ai_service admin_modules
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(ai_service PROPERTIES SET_TARGET_PROPERTIES(ai_service PROPERTIES
LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS" LINK_FLAGS "/NODEFAULTLIB:libcmt /SUBSYSTEM:WINDOWS"
PROJECT_LABEL "Services: Frontend Service (FS)") PROJECT_LABEL "Services: AI Service (FS)")
ENDIF(WIN32) ENDIF(WIN32)
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS}) ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

View file

@ -1,13 +1,14 @@
FILE(GLOB SRC *.cpp *.h) FILE(GLOB SRC *.cpp *.h)
# Filter out the source files not actually compiled.
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/world_map.cpp
${CMAKE_CURRENT_SOURCE_DIR}/world_map.h)
ADD_LIBRARY(ai_share STATIC ${SRC}) ADD_LIBRARY(ai_share STATIC ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ai_share ${NELMISC_LIBRARY} ${NELNET_LIBRARY} ${NELGEORGES_LIBRARY} ${NELPACS_LIBRARY}) TARGET_LINK_LIBRARIES(ai_share game_share
server_share
${NELMISC_LIBRARY}
${NELNET_LIBRARY}
${NELGEORGES_LIBRARY}
${NELPACS_LIBRARY})
SET_TARGET_PROPERTIES(ai_share PROPERTIES VERSION ${NL_VERSION}) SET_TARGET_PROPERTIES(ai_share PROPERTIES VERSION ${NL_VERSION})
IF(WIN32) IF(WIN32)