blob: 23135d706fcd44e24857d8ad87f95eb6657c921a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
set (MANIFEST_FILE Updater.exe.manifest)
add_executable(winupdater WIN32
Main.cpp
Platform.cpp
WinUI.cpp
${MANIFEST_FILE})
target_link_libraries(winupdater PRIVATE
uicommon
updatercommon
Comctl32
)
set_target_properties(winupdater PROPERTIES OUTPUT_NAME "Updater")
if(MSVC)
# Add precompiled header
target_link_libraries(winupdater PRIVATE use_pch)
endif()
|