2010-09-04 17:51:20 +00:00
|
|
|
FILE(GLOB SRC main.cpp
|
2012-01-07 18:14:24 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/app_bundle_utils.cpp
|
2015-12-08 16:49:23 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/user_agent.cpp
|
2010-09-04 17:51:20 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_patch.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/login_xdelta.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.h
|
2010-08-03 21:05:05 +00:00
|
|
|
)
|
|
|
|
|
2016-01-01 14:57:10 +00:00
|
|
|
# always enable custom patch server
|
2016-10-25 14:02:46 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
|
2016-01-01 14:57:10 +00:00
|
|
|
|
2010-08-03 21:05:05 +00:00
|
|
|
ADD_EXECUTABLE(ryzom_client_patcher ${SRC})
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
2016-01-27 13:42:19 +00:00
|
|
|
${LIBXML2_INCLUDE_DIR}
|
2010-08-03 21:05:05 +00:00
|
|
|
${CURL_INCLUDE_DIRS}
|
2016-02-04 13:32:40 +00:00
|
|
|
${ZLIB_INCLUDE_DIR}
|
2010-09-02 19:53:33 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src
|
2010-08-03 21:05:05 +00:00
|
|
|
)
|
|
|
|
|
2010-09-29 21:52:28 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_client_patcher
|
2010-09-02 19:53:33 +00:00
|
|
|
nelmisc
|
|
|
|
nelnet
|
2010-08-03 21:05:05 +00:00
|
|
|
ryzom_gameshare
|
2010-09-04 17:51:20 +00:00
|
|
|
ryzom_sevenzip
|
|
|
|
${CURL_LIBRARIES})
|
2010-08-03 21:05:05 +00:00
|
|
|
|
2012-01-10 09:19:52 +00:00
|
|
|
IF(APPLE)
|
2017-04-21 09:04:09 +00:00
|
|
|
TARGET_LINK_LIBRARIES(ryzom_client_patcher ${FOUNDATION_FRAMEWORK})
|
2016-10-27 08:54:09 +00:00
|
|
|
ENDIF()
|
2012-01-10 09:19:52 +00:00
|
|
|
|
2016-10-25 14:02:46 +00:00
|
|
|
ADD_DEFINITIONS(${CURL_DEFINITIONS})
|
2010-08-03 21:05:05 +00:00
|
|
|
|
2010-09-03 13:07:47 +00:00
|
|
|
NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_client_patcher)
|
2010-09-02 19:53:33 +00:00
|
|
|
|
2010-08-03 21:05:05 +00:00
|
|
|
IF(WITH_PCH)
|
2010-09-04 16:34:09 +00:00
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(ryzom_client_patcher ${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.h ${CMAKE_SOURCE_DIR}/ryzom/client/src/stdpch.cpp)
|
2016-10-27 08:54:09 +00:00
|
|
|
ENDIF()
|
2010-08-03 21:05:05 +00:00
|
|
|
|
2016-01-04 12:43:49 +00:00
|
|
|
INSTALL(TARGETS ryzom_client_patcher RUNTIME DESTINATION ${RYZOM_GAMES_PREFIX} COMPONENT client)
|