WinUpdater: Add CMakeLists.txt
This commit is contained in:
parent
f1fae37a81
commit
c7dcba1c5f
|
@ -15,7 +15,15 @@ if(ENABLE_QT)
|
||||||
add_subdirectory(DolphinQt)
|
add_subdirectory(DolphinQt)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE OR WIN32)
|
||||||
add_subdirectory(UpdaterCommon)
|
add_subdirectory(UpdaterCommon)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
add_subdirectory(MacUpdater)
|
add_subdirectory(MacUpdater)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
add_subdirectory(WinUpdater)
|
||||||
|
endif()
|
||||||
|
|
|
@ -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")
|
Loading…
Reference in New Issue