2010-05-13 11:12:10 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
NL_TARGET_LIB(ryzom_servershare ${SRC})
|
2010-05-13 11:12:10 +00:00
|
|
|
|
2010-09-02 19:53:33 +00:00
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
2010-05-13 11:12:10 +00:00
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_servershare
|
|
|
|
nelmisc
|
|
|
|
nelpacs
|
|
|
|
nelgeorges
|
|
|
|
nelnet
|
|
|
|
ryzom_gameshare
|
|
|
|
${MYSQL_LIBRARIES}
|
|
|
|
${ZLIB_LIBRARIES})
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(ryzom_servershare "Ryzom, Library: Service Shared")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_servershare)
|
|
|
|
NL_ADD_LIB_SUFFIX(ryzom_servershare)
|
2010-05-13 11:12:10 +00:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
|
|
|
|
2010-07-10 11:40:38 +00:00
|
|
|
IF(WITH_PCH)
|
2010-09-15 08:19:55 +00:00
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_servershare ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
2010-07-10 11:40:38 +00:00
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
INSTALL(TARGETS ryzom_servershare LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries)
|