WinUpdater: Add CMakeLists.txt

This commit is contained in:
spycrab 2019-05-08 21:17:30 +02:00
parent f1fae37a81
commit c7dcba1c5f
2 changed files with 23 additions and 1 deletions

View File

@ -15,7 +15,15 @@ if(ENABLE_QT)
add_subdirectory(DolphinQt)
endif()
if (APPLE)
if (APPLE OR WIN32)
add_subdirectory(UpdaterCommon)
endif()
if (APPLE)
add_subdirectory(MacUpdater)
endif()
if (WIN32)
add_subdirectory(WinUpdater)
endif()

View File

@ -0,0 +1,14 @@
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")