|
|
|
@ -1,13 +1,14 @@
|
|
|
|
|
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})
|
|
|
|
|
|
|
|
|
|
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})
|
|
|
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
|