2010-09-04 17:51:20 +00:00
|
|
|
FILE(GLOB SRC main.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src/client_cfg.cpp
|
|
|
|
${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
|
|
|
)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(ryzom_client_patcher ${SRC})
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
2010-09-05 09:29:34 +00:00
|
|
|
${LIBXML2_INCLUDE_DIR}
|
2010-08-03 21:05:05 +00:00
|
|
|
${CURL_INCLUDE_DIRS}
|
2010-09-02 19:53:33 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src
|
2010-08-03 21:05:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(ryzom_client_patcher ${PLATFORM_LINKFLAGS}
|
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
|
|
|
|
2010-09-05 09:29:34 +00:00
|
|
|
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS} ${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
|
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)
|
2010-08-03 21:05:05 +00:00
|
|
|
ENDIF(WITH_PCH)
|
|
|
|
|
2010-09-02 19:53:33 +00:00
|
|
|
INSTALL(TARGETS ryzom_client_patcher RUNTIME DESTINATION games COMPONENT client BUNDLE DESTINATION /Applications)
|