2010-05-12 18:21:55 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
LIST(REMOVE_ITEM SRC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.cpp
|
2010-05-12 18:21:55 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/prioritizer.h
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/property_dispatcher.h)
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
ADD_EXECUTABLE(ryzom_frontend_service WIN32 ${SRC})
|
2010-09-03 13:07:47 +00:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
|
|
|
|
2010-09-15 08:19:55 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_frontend_service
|
|
|
|
ryzom_adminmodules
|
|
|
|
ryzom_gameshare
|
|
|
|
${LIBXML2_LIBRARIES}
|
|
|
|
${MYSQL_LIBRARIES}
|
|
|
|
${ZLIB_LIBRARIES}
|
|
|
|
nelmisc
|
|
|
|
nelnet
|
|
|
|
nelgeorges
|
|
|
|
nelligo)
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(ryzom_frontend_service "Ryzom, Services: Frontend Service (FS)")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_frontend_service)
|
2010-07-10 11:40:38 +00:00
|
|
|
|
2010-05-12 18:21:55 +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_frontend_service ${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_frontend_service RUNTIME DESTINATION sbin COMPONENT services)
|