Added ai command setEquipment
[ryzomcore.git] / ryzom / server / src / ai_service / CMakeLists.txt
blob29049eb5cf2bed3dbc10d8e5248165e0e4eba3f2
1 IF(APPLE)
2         add_definitions("-ftemplate-depth=100")
3 ENDIF()
4 FILE(GLOB SRC *.cpp *.h)
6 LIST(REMOVE_ITEM SRC
7                         ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp
8                         ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.h
9                         ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id_inline.h
10                         ${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.cpp
11                         ${CMAKE_CURRENT_SOURCE_DIR}/ai_world_map.h
12                         ${CMAKE_CURRENT_SOURCE_DIR}/combat_move.cpp
13                         ${CMAKE_CURRENT_SOURCE_DIR}/combat_move.h
14                         ${CMAKE_CURRENT_SOURCE_DIR}/gpms_interface.cpp
15                         ${CMAKE_CURRENT_SOURCE_DIR}/gpms_interface.h
16                         ${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.cpp
17                         ${CMAKE_CURRENT_SOURCE_DIR}/ios_interface.h)
19 ADD_EXECUTABLE(ryzom_ai_service WIN32 ${SRC})
21 INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${MYSQL_INCLUDE_DIR})
23 TARGET_LINK_LIBRARIES(ryzom_ai_service
24                                         ryzom_adminmodules
25                                         ${RYZOM_GAMESHARE_LIBRARIES}
26                                         ryzom_servershare
27                                         ryzom_aishare
28                                         ${NELMISC_LIBRARIES}
29                                         ${NELNET_LIBRARIES}
30                                         ${NELGEORGES_LIBRARIES}
31                                         ${NELLIGO_LIBRARIES})
33 NL_DEFAULT_PROPS(ryzom_ai_service "Ryzom, Services: AI Service (AIS)")
34 NL_ADD_RUNTIME_FLAGS(ryzom_ai_service)
36 IF(WITH_PCH)
37   ADD_NATIVE_PRECOMPILED_HEADER(ryzom_ai_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
38 ENDIF()
40 INSTALL(TARGETS ryzom_ai_service RUNTIME DESTINATION sbin COMPONENT services)