Przeglądaj źródła

win-update: Remove legacy CMake file

tytan652 1 rok temu
rodzic
commit
2aedaaec51
1 zmienionych plików z 0 dodań i 50 usunięć
  1. 0 50
      UI/win-update/updater/cmake/legacy.cmake

+ 0 - 50
UI/win-update/updater/cmake/legacy.cmake

@@ -1,50 +0,0 @@
-project(updater)
-
-option(ENABLE_UPDATER "Build with Windows updater" ON)
-
-if(NOT ENABLE_UPDATER)
-  message(STATUS "OBS:  DISABLED   Windows updater")
-  return()
-endif()
-
-find_package(zstd)
-find_package(nlohmann_json 3 REQUIRED)
-
-add_executable(updater WIN32)
-
-target_sources(
-  updater
-  PRIVATE updater.cpp
-          updater.hpp
-          patch.cpp
-          http.cpp
-          hash.cpp
-          resource.h
-          updater.rc
-          init-hook-files.c
-          updater.manifest
-          helpers.cpp
-          helpers.hpp)
-
-target_include_directories(updater PRIVATE ${CMAKE_SOURCE_DIR}/libobs)
-
-target_compile_definitions(updater PRIVATE NOMINMAX "PSAPI_VERSION=2")
-
-if(MSVC)
-  target_compile_options(updater PRIVATE $<IF:$<CONFIG:DEBUG>,/MTd,/MT>)
-  target_compile_options(updater PRIVATE "/utf-8")
-  target_link_options(updater PRIVATE "LINKER:/IGNORE:4098")
-endif()
-
-target_link_libraries(
-  updater
-  PRIVATE OBS::blake2
-          nlohmann_json::nlohmann_json
-          zstd::libzstd_static
-          comctl32
-          shell32
-          version
-          winhttp
-          wintrust)
-
-set_target_properties(updater PROPERTIES FOLDER "frontend")