Added ai command setEquipment
[ryzomcore.git] / ryzom / server / src / server_share / CMakeLists.txt
blob6f15c48515a89bdd85c96d819cac98194135d694
1 FILE(GLOB SRC *.cpp *.h)
3 FILE(GLOB R2
4         r2_*.h r2_*.cpp)
6 LIST(REMOVE_ITEM SRC R2)
8 SOURCE_GROUP("" FILES ${SRC})
9 SOURCE_GROUP("R2" FILES ${R2})
11 NL_TARGET_LIB(ryzom_servershare ${SRC} ${R2})
13 INCLUDE_DIRECTORIES(${MYSQL_INCLUDE_DIR})
15 TARGET_LINK_LIBRARIES(ryzom_servershare
16                                                 ${NELMISC_LIBRARIES}
17                                                 ${NELPACS_LIBRARIES}
18                                                 ${NELGEORGES_LIBRARIES}
19                                                 ${NELNET_LIBRARIES}
20                                                 ${RYZOM_GAMESHARE_LIBRARIES}
21                                                 ${MYSQL_LIBRARIES}
22                                                 ${ZLIB_LIBRARIES})
24 IF(WITH_MONGODB)
25   TARGET_LINK_LIBRARIES(ryzom_servershare ${MONGO_LIBRARIES})
26   ADD_DEFINITIONS(${MONGO_DEFINITIONS})
27 ENDIF()
29 NL_DEFAULT_PROPS(ryzom_servershare "Ryzom, Library: Service Shared")
30 NL_ADD_RUNTIME_FLAGS(ryzom_servershare)
31 NL_ADD_LIB_SUFFIX(ryzom_servershare)
33 IF(WITH_PCH)
34   ADD_NATIVE_PRECOMPILED_HEADER(ryzom_servershare ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
35 ENDIF()
37 IF(WITH_INSTALL_LIBRARIES)
38   INSTALL(TARGETS ryzom_servershare LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)
39 ENDIF()