2026-07-10 00:38:23 -07:00
|
|
|
set(_updater_sources
|
2026-07-09 09:17:30 +00:00
|
|
|
main.cpp
|
|
|
|
|
UpdateTransaction.h
|
|
|
|
|
UpdateTransaction.cpp
|
|
|
|
|
)
|
|
|
|
|
|
2026-07-10 00:38:23 -07:00
|
|
|
add_executable(Updater ${_updater_sources})
|
|
|
|
|
target_compile_features(Updater PRIVATE cxx_std_17)
|
|
|
|
|
target_link_libraries(Updater
|
|
|
|
|
PRIVATE
|
|
|
|
|
Common
|
2026-07-10 02:38:04 -07:00
|
|
|
UpdateClientUpdaterLogic
|
2026-07-10 00:38:23 -07:00
|
|
|
Qt5::Core
|
|
|
|
|
Qt5::Network
|
|
|
|
|
Qt5::Gui
|
|
|
|
|
Qt5::Widgets
|
2026-07-09 09:17:30 +00:00
|
|
|
)
|
2026-07-10 00:38:23 -07:00
|
|
|
update_client_link_embedded_resources(Updater)
|
|
|
|
|
update_client_deploy_openssl_runtime(Updater)
|
|
|
|
|
update_client_enable_qt_deployment(Updater)
|
2026-07-09 09:17:30 +00:00
|
|
|
|
|
|
|
|
if(WIN32)
|
2026-07-10 00:38:23 -07:00
|
|
|
set_target_properties(Updater PROPERTIES WIN32_EXECUTABLE TRUE)
|
2026-07-09 09:17:30 +00:00
|
|
|
endif()
|