Changed: #842 Added missing server tools to CMake build. Tweaked code to find headers in correct places.
parent
90f5d64709
commit
a5bc41e1be
@ -0,0 +1,28 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
#LIST(REMOVE_ITEM SRC ${CMAKE_CURRENT_SOURCE_DIR}/ai_entity_id.cpp))
|
||||
|
||||
ADD_EXECUTABLE(ai_data_service WIN32 ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR} ${MYSQL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ai_data_service admin_modules
|
||||
ryzom_gameshare
|
||||
server_share
|
||||
ai_share
|
||||
${PLATFORM_LINKFLAGS}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${MYSQL_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
nelmisc
|
||||
nelnet
|
||||
nelgeorges
|
||||
nelpacs
|
||||
nelligo)
|
||||
|
||||
NL_DEFAULT_PROPS(ai_data_service "Ryzom, Services: AI Data Service (AIDS)")
|
||||
NL_ADD_RUNTIME_FLAGS(ai_data_service)
|
||||
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
INSTALL(TARGETS ai_data_service RUNTIME DESTINATION sbin COMPONENT services)
|
||||
|
@ -1,17 +1,18 @@
|
||||
FILE(GLOB SRC *.cpp *.h)
|
||||
FILE(GLOB SRC *.cpp *.h ${RZ_SERVER_SRC_DIR}/ai_data_service/pacs_scan.h ${RZ_SERVER_SRC_DIR}/ai_data_service/pacs_scan.cpp)
|
||||
|
||||
ADD_EXECUTABLE(ai_build_wmap ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/server/src
|
||||
${CMAKE_SOURCE_DIR}/common/src
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${NEL_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ai_build_wmap ryzom_gameshare
|
||||
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(ai_build_wmap
|
||||
ryzom_gameshare
|
||||
server_share
|
||||
ai_share
|
||||
${PLATFORM_LINKFLAGS}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${NELMISC_LIBRARY})
|
||||
nelmisc)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
NL_DEFAULT_PROPS(ai_build_wmap "Ryzom, Tools, Server: AI Build World Map")
|
||||
NL_ADD_RUNTIME_FLAGS(ai_build_wmap)
|
||||
|
||||
INSTALL(TARGETS ai_build_wmap RUNTIME DESTINATION bin COMPONENT tools)
|
||||
|
@ -0,0 +1,23 @@
|
||||
FILE(GLOB SRC *.cpp *.h ${RZ_SERVER_SRC_DIR}/ai_data_service/pacs_scan.h ${RZ_SERVER_SRC_DIR}/ai_data_service/pacs_scan.cpp)
|
||||
|
||||
ADD_EXECUTABLE(build_world_packed_col ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(build_world_packed_col
|
||||
ryzom_gameshare
|
||||
server_share
|
||||
ai_share
|
||||
${PLATFORM_LINKFLAGS}
|
||||
${LIBXML2_LIBRARIES}
|
||||
nelmisc
|
||||
nel3d)
|
||||
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
||||
|
||||
NL_DEFAULT_PROPS(build_world_packed_col "Ryzom, Tools, Server: Build World Packed Collisions")
|
||||
NL_ADD_RUNTIME_FLAGS(build_world_packed_col)
|
||||
|
||||
IF(WITH_PCH)
|
||||
ADD_NATIVE_PRECOMPILED_HEADER(build_world_packed_col ${CMAKE_CURRENT_SOURCE_DIR}/std_header.h ${CMAKE_CURRENT_SOURCE_DIR}/std_header.cpp)
|
||||
ENDIF(WITH_PCH)
|
||||
|
||||
INSTALL(TARGETS build_world_packed_col RUNTIME DESTINATION bin COMPONENT tools)
|
Loading…
Reference in New Issue