2010-05-12 18:21:55 +00:00
|
|
|
FILE(GLOB SRC *.cpp *.h)
|
|
|
|
|
|
|
|
LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/pair_selector.cpp
|
|
|
|
${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-03 13:07:47 +00:00
|
|
|
ADD_EXECUTABLE(frontend_service WIN32 ${SRC})
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
|
|
|
TARGET_LINK_LIBRARIES(frontend_service admin_modules ryzom_gameshare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${MYSQL_LIBRARIES} ${ZLIB_LIBRARIES} nelmisc nelnet nelgeorges nelligo)
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(frontend_service "Ryzom, Services: Frontend Service (FS)")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(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)
|
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(frontend_service ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2010-05-12 18:21:55 +00:00
|
|
|
INSTALL(TARGETS frontend_service RUNTIME DESTINATION sbin COMPONENT services)
|
|
|
|
|