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
|
|
|
|
2016-02-01 15:04:21 +00:00
|
|
|
ADD_EXECUTABLE(khanat_client_patcher ${SRC})
|
2010-08-03 21:05:05 +00:00
|
|
|
|
|
|
|
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-12 17:28:23 +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
|
|
|
)
|
|
|
|
|
2016-02-01 15:04:21 +00:00
|
|
|
TARGET_LINK_LIBRARIES(khanat_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)
|
|
|
|
FIND_LIBRARY(FOUNDATION_LIBRARY Foundation)
|
2016-02-01 15:04:21 +00:00
|
|
|
TARGET_LINK_LIBRARIES(khanat_client_patcher ${FOUNDATION_LIBRARY})
|
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
|
|
|
|
2016-02-01 15:04:21 +00:00
|
|
|
NL_DEFAULT_PROPS(khanat_client_patcher "Khanat, Tools: Khanat Client Patcher")
|
|
|
|
NL_ADD_RUNTIME_FLAGS(khanat_client_patcher)
|
2010-09-02 19:53:33 +00:00
|
|
|
|
2010-08-03 21:05:05 +00:00
|
|
|
IF(WITH_PCH)
|
2016-02-01 15:04:21 +00:00
|
|
|
ADD_NATIVE_PRECOMPILED_HEADER(khanat_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-02-01 15:04:21 +00:00
|
|
|
INSTALL(TARGETS khanat_client_patcher RUNTIME DESTINATION ${RYZOM_GAMES_PREFIX} COMPONENT client)
|