|
|
|
@ -1,18 +1,15 @@
|
|
|
|
|
FILE(GLOB SRC *.cpp *.h
|
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/client_cfg.cpp
|
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/login_patch.cpp
|
|
|
|
|
${CMAKE_SOURCE_DIR}/client/src/login_xdelta.cpp
|
|
|
|
|
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
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
SET(SEVENZIP_LIBRARY "ryzom_sevenzip")
|
|
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(ryzom_client_patcher ${SRC})
|
|
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
|
${LIBXML2_INCLUDE_DIR}
|
|
|
|
|
${CURL_INCLUDE_DIRS}
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
${CMAKE_SOURCE_DIR}/ryzom/client/src
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -20,10 +17,10 @@ TARGET_LINK_LIBRARIES(ryzom_client_patcher ${PLATFORM_LINKFLAGS}
|
|
|
|
|
nelmisc
|
|
|
|
|
nelnet
|
|
|
|
|
ryzom_gameshare
|
|
|
|
|
${CURL_LIBRARIES}
|
|
|
|
|
${SEVENZIP_LIBRARY})
|
|
|
|
|
ryzom_sevenzip
|
|
|
|
|
${CURL_LIBRARIES})
|
|
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
|
|
|
|
|
ADD_DEFINITIONS(${CURL_DEFINITIONS} -DRZ_NO_CLIENT -DNL_USE_SEVENZIP)
|
|
|
|
|
|
|
|
|
|
NL_DEFAULT_PROPS(ryzom_client_patcher "Ryzom, Tools: Ryzom Client Patcher")
|
|
|
|
|
NL_ADD_RUNTIME_FLAGS(ryzom_client_patcher)
|
|
|
|
|