2 add_definitions("-ftemplate-depth=100")
4 FILE(GLOB SRC *.cpp *.h)
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
25 ${RYZOM_GAMESHARE_LIBRARIES}
30 ${NELGEORGES_LIBRARIES}
33 NL_DEFAULT_PROPS(ryzom_ai_service "Ryzom, Services: AI Service (AIS)")
34 NL_ADD_RUNTIME_FLAGS(ryzom_ai_service)
37 ADD_NATIVE_PRECOMPILED_HEADER(ryzom_ai_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
40 INSTALL(TARGETS ryzom_ai_service RUNTIME DESTINATION sbin COMPONENT services)