1 FILE(GLOB SRC *.cpp *.h)
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
18 ${NELGEORGES_LIBRARIES}
20 ${RYZOM_GAMESHARE_LIBRARIES}
25 TARGET_LINK_LIBRARIES(ryzom_servershare ${MONGO_LIBRARIES})
26 ADD_DEFINITIONS(${MONGO_DEFINITIONS})
29 NL_DEFAULT_PROPS(ryzom_servershare "Ryzom, Library: Service Shared")
30 NL_ADD_RUNTIME_FLAGS(ryzom_servershare)
31 NL_ADD_LIB_SUFFIX(ryzom_servershare)
34 ADD_NATIVE_PRECOMPILED_HEADER(ryzom_servershare ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
37 IF(WITH_INSTALL_LIBRARIES)
38 INSTALL(TARGETS ryzom_servershare LIBRARY DESTINATION ${RYZOM_LIB_PREFIX} ARCHIVE DESTINATION ${RYZOM_LIB_PREFIX} COMPONENT libraries)