mirror of https://github.com/stenzek/duckstation
CMake: Drop Win32/MSVC specific paths. Use MSBuild.
This was never supported, and hasn't been updated in a while anyway.pull/3745/head
parent
77ecf99398
commit
2307ad9b0f
@ -1,8 +1,14 @@
|
||||
# SPDX-FileCopyrightText: 2019-2026 Connor McLaughlin <stenzek@gmail.com>
|
||||
# SPDX-License-Identifier: CC-BY-NC-ND-4.0 + Packaging Restriction
|
||||
#
|
||||
# NOTE: In addition to the terms of CC-BY-NC-ND-4.0, you may not use this file to create
|
||||
# packages or build recipes without explicit permission from the copyright holder.
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
function(check_cxx_flag flag var)
|
||||
CHECK_CXX_COMPILER_FLAG("-Werror ${flag}" ${var})
|
||||
if(${var})
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
|
||||
endif()
|
||||
CHECK_CXX_COMPILER_FLAG("-Werror ${flag}" ${var})
|
||||
if(${var})
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
add_executable(installer
|
||||
installer.cpp
|
||||
installer.h
|
||||
installer.manifest
|
||||
installer.rc
|
||||
installer_params.h
|
||||
installer_ui.cpp
|
||||
installer_ui.h
|
||||
resource.h
|
||||
../updater/updater_progress_callback.h
|
||||
../updater/win32_progress_callback.cpp
|
||||
../updater/win32_progress_callback.h
|
||||
../updater/win32_window_util.cpp
|
||||
../updater/win32_window_util.h
|
||||
../duckstation-qt/vcruntimecheck.cpp
|
||||
)
|
||||
|
||||
target_include_directories(installer PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_link_libraries(installer PRIVATE common fmt lzma)
|
||||
target_link_libraries(installer PRIVATE "Comctl32.lib")
|
||||
set_target_properties(installer PROPERTIES WIN32_EXECUTABLE TRUE)
|
||||
@ -1,11 +0,0 @@
|
||||
add_executable(uninstaller
|
||||
main.cpp
|
||||
resource.h
|
||||
uninstaller.manifest
|
||||
uninstaller.rc
|
||||
)
|
||||
|
||||
target_include_directories(uninstaller PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_link_libraries(uninstaller PRIVATE common fmt)
|
||||
target_link_libraries(uninstaller PRIVATE "Comctl32.lib")
|
||||
set_target_properties(uninstaller PROPERTIES WIN32_EXECUTABLE TRUE)
|
||||
Loading…
Reference in New Issue