2016-01-26 21:30:13 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
LIST(REMOVE_ITEM SRC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id_inline.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/combat_move.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/combat_move.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gpms_interface.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/gpms_interface.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.h)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(ryzom_ai_service WIN32 ${SRC})
|
|
|
|
|
2016-01-26 22:29:45 +00:00
|
|
|
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR})
|
|
|
|
|
2016-01-26 21:30:13 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_ai_service
|
|
|
|
ryzom_adminmodules
|
|
|
|
ryzom_gameshare
|
|
|
|
ryzom_servershare
|
|
|
|
ryzom_aishare
|
|
|
|
nelmisc
|
|
|
|
nelnet
|
|
|
|
nelgeorges
|
|
|
|
nelligo)
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(ryzom_ai_service "Ryzom, Services: AI Service (AIS)")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_ai_service)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
|
|
|
IF(WITH_PCH)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_ai_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
|
|
|
INSTALL(TARGETS ryzom_ai_service RUNTIME DESTINATION sbin COMPONENT services)
|
|
|
|
|