2019-05-08 19:17:30 +00:00
|
|
|
set (MANIFEST_FILE Updater.exe.manifest)
|
|
|
|
|
|
|
|
add_executable(winupdater WIN32
|
|
|
|
Main.cpp
|
|
|
|
WinUI.cpp
|
|
|
|
${MANIFEST_FILE})
|
|
|
|
|
|
|
|
target_link_libraries(winupdater PRIVATE
|
|
|
|
uicommon
|
|
|
|
updatercommon
|
|
|
|
Comctl32
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(winupdater PROPERTIES OUTPUT_NAME "Updater")
|
2022-05-21 23:19:44 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
# Add precompiled header
|
|
|
|
target_link_libraries(winupdater PRIVATE use_pch)
|
|
|
|
endif()
|