2024-02-23 21:32:32 +00:00
|
|
|
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2023-04-27 16:13:19 +00:00
|
|
|
cmake_minimum_required(VERSION 3.16.3)
|
2023-11-05 11:22:18 +00:00
|
|
|
|
2024-02-29 22:00:35 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
2023-05-02 15:22:19 +00:00
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
2023-04-27 16:13:19 +00:00
|
|
|
|
2023-11-05 11:22:18 +00:00
|
|
|
if (NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE Release)
|
2023-05-03 16:40:47 +00:00
|
|
|
endif()
|
|
|
|
|
2023-04-27 16:13:19 +00:00
|
|
|
project(shadps4)
|
|
|
|
|
2024-02-29 22:00:35 +00:00
|
|
|
option(ENABLE_QT_GUI "Enable the Qt GUI. If not selected then the emulator uses a minimal SDL-based UI instead" OFF)
|
|
|
|
|
|
|
|
if(ENABLE_QT_GUI)
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS Widgets Concurrent)
|
|
|
|
qt_standard_project_setup()
|
2024-03-02 16:39:46 +00:00
|
|
|
set(CMAKE_AUTORCC ON)
|
2024-02-29 22:00:35 +00:00
|
|
|
endif()
|
|
|
|
|
2023-11-05 15:08:47 +00:00
|
|
|
# This function should be passed a list of all files in a target. It will automatically generate
|
|
|
|
# file groups following the directory hierarchy, so that the layout of the files in IDEs matches the
|
|
|
|
# one in the filesystem.
|
|
|
|
function(create_target_directory_groups target_name)
|
|
|
|
# Place any files that aren't in the source list in a separate group so that they don't get in
|
|
|
|
# the way.
|
|
|
|
source_group("Other Files" REGULAR_EXPRESSION ".")
|
|
|
|
|
|
|
|
get_target_property(target_sources "${target_name}" SOURCES)
|
|
|
|
|
|
|
|
foreach(file_name IN LISTS target_sources)
|
|
|
|
get_filename_component(dir_name "${file_name}" PATH)
|
|
|
|
# Group names use '\' as a separator even though the entire rest of CMake uses '/'...
|
|
|
|
string(REPLACE "/" "\\" group_name "${dir_name}")
|
|
|
|
source_group("${group_name}" FILES "${file_name}")
|
|
|
|
endforeach()
|
|
|
|
endfunction()
|
|
|
|
|
2024-02-23 20:57:57 +00:00
|
|
|
|
|
|
|
# Setup a custom clang-format target (if clang-format can be found) that will run
|
|
|
|
# against all the src files. This should be used before making a pull request.
|
|
|
|
# =======================================================================
|
|
|
|
|
|
|
|
set(CLANG_FORMAT_POSTFIX "-15")
|
|
|
|
find_program(CLANG_FORMAT
|
|
|
|
NAMES clang-format${CLANG_FORMAT_POSTFIX}
|
|
|
|
clang-format
|
|
|
|
PATHS ${PROJECT_BINARY_DIR}/externals)
|
|
|
|
# if find_program doesn't find it, try to download from externals
|
|
|
|
if (NOT CLANG_FORMAT)
|
|
|
|
if (WIN32)
|
|
|
|
message(STATUS "Clang format not found! Downloading...")
|
|
|
|
set(CLANG_FORMAT "${PROJECT_BINARY_DIR}/externals/clang-format${CLANG_FORMAT_POSTFIX}.exe")
|
|
|
|
file(DOWNLOAD
|
|
|
|
https://github.com/citra-emu/ext-windows-bin/raw/master/clang-format${CLANG_FORMAT_POSTFIX}.exe
|
|
|
|
"${CLANG_FORMAT}" SHOW_PROGRESS
|
|
|
|
STATUS DOWNLOAD_SUCCESS)
|
|
|
|
if (NOT DOWNLOAD_SUCCESS EQUAL 0)
|
|
|
|
message(WARNING "Could not download clang format! Disabling the clang format target")
|
|
|
|
file(REMOVE ${CLANG_FORMAT})
|
|
|
|
unset(CLANG_FORMAT)
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
message(WARNING "Clang format not found! Disabling the clang format target")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (CLANG_FORMAT)
|
|
|
|
set(SRCS ${PROJECT_SOURCE_DIR}/src)
|
|
|
|
set(CCOMMENT "Running clang format against all the .h and .cpp files in src/")
|
|
|
|
if (WIN32)
|
|
|
|
if(MINGW)
|
|
|
|
add_custom_target(clang-format
|
|
|
|
COMMAND find `cygpath -u ${SRCS}` -iname *.h -o -iname *.cpp -o -iname *.mm | xargs `cygpath -u ${CLANG_FORMAT}` -i
|
|
|
|
COMMENT ${CCOMMENT})
|
|
|
|
else()
|
|
|
|
add_custom_target(clang-format
|
|
|
|
COMMAND powershell.exe -Command "Get-ChildItem '${SRCS}/*' -Include *.cpp,*.h,*.mm -Recurse | Foreach {&'${CLANG_FORMAT}' -i $_.fullname}"
|
|
|
|
COMMENT ${CCOMMENT})
|
|
|
|
endif()
|
|
|
|
else()
|
|
|
|
add_custom_target(clang-format
|
|
|
|
COMMAND find ${SRCS} -iname *.h -o -iname *.cpp -o -iname *.mm | xargs ${CLANG_FORMAT} -i
|
|
|
|
COMMENT ${CCOMMENT})
|
|
|
|
endif()
|
|
|
|
unset(SRCS)
|
|
|
|
unset(CCOMMENT)
|
|
|
|
endif()
|
|
|
|
|
2024-02-27 18:24:47 +00:00
|
|
|
add_subdirectory(externals)
|
2023-11-05 11:22:18 +00:00
|
|
|
add_subdirectory(third-party)
|
2023-08-02 12:16:00 +00:00
|
|
|
include_directories(src)
|
2023-04-27 16:13:19 +00:00
|
|
|
|
2024-02-24 20:39:29 +00:00
|
|
|
set(LIBRARIES src/core/libraries/library_common.h
|
|
|
|
src/core/libraries/error_codes.h
|
|
|
|
src/core/libraries/libscegnmdriver.cpp
|
|
|
|
src/core/libraries/libscegnmdriver.h
|
|
|
|
)
|
2024-02-14 22:52:57 +00:00
|
|
|
set(LIBC_SOURCES src/core/hle/libraries/libc/libc.cpp
|
|
|
|
src/core/hle/libraries/libc/libc.h
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/hle/libraries/libc/printf.h
|
|
|
|
src/core/hle/libraries/libc/va_ctx.h
|
|
|
|
src/core/hle/libraries/libc/libc_cxa.cpp
|
|
|
|
src/core/hle/libraries/libc/libc_cxa.h
|
2023-10-31 13:53:46 +00:00
|
|
|
src/core/hle/libraries/libc/libc_stdio.cpp
|
|
|
|
src/core/hle/libraries/libc/libc_stdio.h
|
|
|
|
src/core/hle/libraries/libc/libc_math.cpp
|
|
|
|
src/core/hle/libraries/libc/libc_math.h
|
2023-10-31 15:32:56 +00:00
|
|
|
src/core/hle/libraries/libc/libc_string.cpp
|
|
|
|
src/core/hle/libraries/libc/libc_string.h
|
2023-10-31 16:12:05 +00:00
|
|
|
src/core/hle/libraries/libc/libc_stdlib.cpp
|
|
|
|
src/core/hle/libraries/libc/libc_stdlib.h
|
2023-10-06 18:49:53 +00:00
|
|
|
)
|
2023-11-05 23:11:54 +00:00
|
|
|
set(USERSERVICE_SOURCES src/core/hle/libraries/libuserservice/libuserservice.cpp
|
|
|
|
src/core/hle/libraries/libuserservice/libuserservice.h
|
2023-10-06 18:49:53 +00:00
|
|
|
)
|
|
|
|
|
2023-10-31 11:35:52 +00:00
|
|
|
set(PAD_SOURCES src/core/hle/libraries/libpad/pad.cpp
|
|
|
|
src/core/hle/libraries/libpad/pad.h
|
2023-10-07 09:03:03 +00:00
|
|
|
)
|
|
|
|
|
2023-10-31 12:04:35 +00:00
|
|
|
set(SYSTEMSERVICE_SOURCES src/core/hle/libraries/libsystemservice/system_service.cpp
|
|
|
|
src/core/hle/libraries/libsystemservice/system_service.h
|
2023-10-07 09:03:03 +00:00
|
|
|
)
|
|
|
|
|
2023-10-31 11:35:52 +00:00
|
|
|
set(FILESYSTEM_SOURCES src/core/hle/libraries/libkernel/file_system.cpp
|
2023-11-19 08:22:46 +00:00
|
|
|
src/core/hle/libraries/libkernel/file_system.h
|
|
|
|
src/core/file_sys/fs.cpp
|
|
|
|
src/core/file_sys/fs.h
|
2023-10-20 04:25:52 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HOST_SOURCES src/Emulator/Host/controller.cpp
|
|
|
|
src/Emulator/Host/controller.h
|
2023-10-19 09:13:09 +00:00
|
|
|
)
|
|
|
|
|
2024-02-29 22:00:35 +00:00
|
|
|
# the above is shared in sdl and qt version (TODO share them all)
|
|
|
|
|
|
|
|
if(ENABLE_QT_GUI)
|
2024-03-01 08:47:28 +00:00
|
|
|
qt_add_resources(RESOURCE_FILES src/shadps4.qrc)
|
2024-02-29 22:00:35 +00:00
|
|
|
set(QT_GUI
|
|
|
|
src/qt_gui/main_window_ui.h
|
|
|
|
src/qt_gui/main_window.cpp
|
|
|
|
src/qt_gui/main_window.h
|
|
|
|
src/qt_gui/gui_settings.cpp
|
|
|
|
src/qt_gui/gui_settings.h
|
|
|
|
src/qt_gui/settings.cpp
|
|
|
|
src/qt_gui/settings.h
|
|
|
|
src/qt_gui/gui_save.h
|
|
|
|
src/qt_gui/custom_dock_widget.h
|
|
|
|
src/qt_gui/custom_table_widget_item.cpp
|
|
|
|
src/qt_gui/custom_table_widget_item.h
|
|
|
|
src/qt_gui/game_list_item.h
|
|
|
|
src/qt_gui/game_list_table.cpp
|
|
|
|
src/qt_gui/game_list_table.h
|
|
|
|
src/qt_gui/game_list_utils.h
|
|
|
|
src/qt_gui/game_info.h
|
|
|
|
src/qt_gui/game_list_grid.cpp
|
|
|
|
src/qt_gui/game_list_grid.h
|
|
|
|
src/qt_gui/game_list_grid_delegate.cpp
|
|
|
|
src/qt_gui/game_list_grid_delegate.h
|
|
|
|
src/qt_gui/game_list_frame.cpp
|
|
|
|
src/qt_gui/game_list_frame.h
|
|
|
|
src/qt_gui/qt_utils.h
|
|
|
|
src/qt_gui/game_install_dialog.cpp
|
|
|
|
src/qt_gui/game_install_dialog.h
|
|
|
|
src/qt_gui/main_window_themes.cpp
|
|
|
|
src/qt_gui/main_window_themes.h
|
|
|
|
src/qt_gui/main.cpp
|
2024-03-01 08:47:28 +00:00
|
|
|
${RESOURCE_FILES}
|
2024-02-29 22:00:35 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(COMMON src/common/logging/backend.cpp
|
|
|
|
src/common/logging/backend.h
|
|
|
|
src/common/logging/filter.cpp
|
|
|
|
src/common/logging/filter.h
|
|
|
|
src/common/logging/formatter.h
|
|
|
|
src/common/logging/log_entry.h
|
|
|
|
src/common/logging/log.h
|
|
|
|
src/common/logging/text_formatter.cpp
|
|
|
|
src/common/logging/text_formatter.h
|
|
|
|
src/common/logging/types.h
|
|
|
|
src/common/assert.cpp
|
|
|
|
src/common/assert.h
|
|
|
|
src/common/bounded_threadsafe_queue.h
|
|
|
|
src/common/concepts.h
|
2024-03-11 11:26:33 +00:00
|
|
|
src/common/config.cpp
|
|
|
|
src/common/config.h
|
2024-02-29 22:00:35 +00:00
|
|
|
src/common/debug.h
|
|
|
|
src/common/disassembler.cpp
|
|
|
|
src/common/disassembler.h
|
|
|
|
src/common/discord.cpp
|
|
|
|
src/common/discord.h
|
|
|
|
src/common/endian.h
|
|
|
|
src/common/io_file.cpp
|
|
|
|
src/common/io_file.h
|
|
|
|
src/common/error.cpp
|
|
|
|
src/common/error.h
|
|
|
|
src/common/native_clock.cpp
|
|
|
|
src/common/native_clock.h
|
|
|
|
src/common/path_util.cpp
|
|
|
|
src/common/path_util.h
|
|
|
|
src/common/rdtsc.cpp
|
|
|
|
src/common/rdtsc.h
|
|
|
|
src/common/singleton.h
|
|
|
|
src/common/string_util.cpp
|
|
|
|
src/common/string_util.h
|
|
|
|
src/common/thread.cpp
|
|
|
|
src/common/thread.h
|
|
|
|
src/common/types.h
|
|
|
|
src/common/uint128.h
|
|
|
|
src/common/version.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(CORE src/core/loader.cpp
|
|
|
|
src/core/loader.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(CRYPTO src/core/crypto/crypto.cpp
|
|
|
|
src/core/crypto/crypto.h
|
|
|
|
src/core/crypto/keys.h
|
|
|
|
)
|
|
|
|
set(FILE_FORMAT src/core/file_format/pfs.h
|
|
|
|
src/core/file_format/pkg.cpp
|
|
|
|
src/core/file_format/pkg.h
|
|
|
|
src/core/file_format/pkg_type.cpp
|
|
|
|
src/core/file_format/pkg_type.h
|
|
|
|
src/core/file_format/psf.cpp
|
|
|
|
src/core/file_format/psf.h
|
|
|
|
)
|
|
|
|
|
|
|
|
if(ENABLE_QT_GUI)
|
|
|
|
qt_add_executable(shadps4
|
|
|
|
${QT_GUI}
|
|
|
|
${COMMON}
|
|
|
|
${CORE}
|
|
|
|
${CRYPTO}
|
|
|
|
${FILE_FORMAT}
|
|
|
|
)
|
|
|
|
else()
|
2023-04-27 16:13:19 +00:00
|
|
|
add_executable(shadps4
|
2023-10-06 18:49:53 +00:00
|
|
|
${LIBC_SOURCES}
|
|
|
|
${USERSERVICE_SOURCES}
|
2023-10-07 09:03:03 +00:00
|
|
|
${PAD_SOURCES}
|
|
|
|
${SYSTEMSERVICE_SOURCES}
|
2023-10-19 09:13:09 +00:00
|
|
|
${FILESYSTEM_SOURCES}
|
2023-10-20 04:25:52 +00:00
|
|
|
${HOST_SOURCES}
|
2024-02-24 20:39:29 +00:00
|
|
|
${LIBRARIES}
|
2023-04-27 16:13:19 +00:00
|
|
|
src/main.cpp
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/loader/elf.cpp
|
|
|
|
src/core/loader/elf.h
|
2023-10-31 06:47:58 +00:00
|
|
|
src/core/virtual_memory.cpp
|
|
|
|
src/core/virtual_memory.h
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/linker.cpp
|
|
|
|
src/core/linker.h
|
|
|
|
src/core/aerolib/stubs.cpp
|
|
|
|
src/core/aerolib/stubs.h
|
|
|
|
src/core/aerolib/aerolib.cpp
|
|
|
|
src/core/aerolib/aerolib.h
|
|
|
|
src/core/hle/kernel/Objects/physical_memory.h
|
|
|
|
src/core/hle/kernel/Objects/physical_memory.cpp
|
2023-10-31 06:47:58 +00:00
|
|
|
src/core/PS4/HLE/Graphics/video_out.cpp
|
|
|
|
src/core/PS4/HLE/Graphics/video_out.h
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/hle/kernel/event_queues.cpp
|
|
|
|
src/core/hle/kernel/event_queues.h
|
|
|
|
src/core/hle/kernel/cpu_management.cpp
|
|
|
|
src/core/hle/kernel/cpu_management.h
|
|
|
|
src/core/loader/symbols_resolver.h
|
|
|
|
src/core/loader/symbols_resolver.cpp
|
|
|
|
src/core/hle/libraries/libs.cpp
|
|
|
|
src/core/hle/libraries/libs.h
|
|
|
|
src/core/hle/libraries/libkernel/libkernel.cpp
|
|
|
|
src/core/hle/libraries/libkernel/libkernel.h
|
|
|
|
src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp
|
|
|
|
src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h
|
2023-11-10 15:31:56 +00:00
|
|
|
src/core/hle/libraries/libkernel/thread_management.cpp
|
|
|
|
src/core/hle/libraries/libkernel/thread_management.h
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/hle/kernel/memory_management.cpp
|
|
|
|
src/core/hle/kernel/memory_management.h
|
|
|
|
src/core/hle/error_codes.h
|
2023-11-05 12:21:20 +00:00
|
|
|
src/core/PS4/GPU/gpu_memory.cpp
|
|
|
|
src/core/PS4/GPU/gpu_memory.h
|
|
|
|
src/emulator.cpp
|
|
|
|
src/emulator.h
|
2023-11-05 23:11:54 +00:00
|
|
|
src/core/hle/kernel/Objects/event_queue.h
|
|
|
|
src/core/hle/kernel/Objects/event_queue.cpp
|
2023-11-05 12:21:20 +00:00
|
|
|
src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp
|
|
|
|
src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h
|
|
|
|
src/core/PS4/HLE/Graphics/graphics_ctx.h
|
|
|
|
src/vulkan_util.cpp
|
|
|
|
src/vulkan_util.h
|
|
|
|
src/core/PS4/GPU/video_out_buffer.cpp
|
|
|
|
src/core/PS4/GPU/video_out_buffer.h
|
|
|
|
src/core/PS4/HLE/Graphics/graphics_render.cpp
|
|
|
|
src/core/PS4/HLE/Graphics/graphics_render.h
|
|
|
|
src/core/PS4/GPU/tile_manager.cpp
|
|
|
|
src/core/PS4/GPU/tile_manager.h
|
|
|
|
src/core/hle/libraries/libkernel/time_management.cpp
|
|
|
|
src/core/hle/libraries/libkernel/time_management.h
|
2024-02-27 22:10:34 +00:00
|
|
|
src/core/tls.cpp
|
|
|
|
src/core/tls.h
|
2024-02-29 22:00:35 +00:00
|
|
|
${COMMON}
|
|
|
|
${CORE}
|
|
|
|
${CRYPTO}
|
|
|
|
${FILE_FORMAT}
|
2024-02-27 22:10:34 +00:00
|
|
|
)
|
2024-02-29 22:00:35 +00:00
|
|
|
endif()
|
2023-04-27 16:13:19 +00:00
|
|
|
|
2023-11-05 15:08:47 +00:00
|
|
|
create_target_directory_groups(shadps4)
|
|
|
|
|
2024-02-27 22:10:34 +00:00
|
|
|
target_link_libraries(shadps4 PRIVATE magic_enum::magic_enum fmt::fmt toml11::toml11)
|
2024-02-29 22:00:35 +00:00
|
|
|
target_link_libraries(shadps4 PRIVATE discord-rpc vulkan-1 xxhash Zydis)
|
|
|
|
|
|
|
|
if(NOT ENABLE_QT_GUI)
|
|
|
|
target_link_libraries(shadps4 PRIVATE SDL3-shared)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND MSVC)
|
|
|
|
target_link_libraries(shadps4 PRIVATE cryptoppwin zlib)
|
|
|
|
else()
|
|
|
|
target_link_libraries(shadps4 PRIVATE cryptopp::cryptopp zlib)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(ENABLE_QT_GUI)
|
|
|
|
target_link_libraries(shadps4 PRIVATE Qt6::Widgets Qt6::Concurrent)
|
|
|
|
endif()
|
|
|
|
|
2023-11-05 11:22:18 +00:00
|
|
|
if (WIN32)
|
2024-02-23 12:33:01 +00:00
|
|
|
target_link_libraries(shadps4 PRIVATE mincore winpthread clang_rt.builtins-x86_64.lib)
|
2024-02-27 22:10:34 +00:00
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS)
|
|
|
|
add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN)
|
2023-11-05 11:22:18 +00:00
|
|
|
endif()
|
2023-05-10 19:22:46 +00:00
|
|
|
|
2024-02-29 22:00:35 +00:00
|
|
|
if(WIN32)
|
|
|
|
target_sources(shadps4 PRIVATE src/shadps4.rc)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
target_include_directories(shadps4 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
if(ENABLE_QT_GUI)
|
|
|
|
set_target_properties(shadps4 PROPERTIES
|
|
|
|
WIN32_EXECUTABLE ON
|
|
|
|
MACOSX_BUNDLE ON
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
add_custom_command(TARGET shadps4 POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
"${PROJECT_SOURCE_DIR}/externals/zlib-ng-win/bin/zlib-ngd2.dll" $<TARGET_FILE_DIR:shadps4>)
|
|
|
|
else()
|
|
|
|
add_custom_command(TARGET shadps4 POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
"${PROJECT_SOURCE_DIR}/externals/zlib-ng-win/bin/zlib-ng2.dll" $<TARGET_FILE_DIR:shadps4>)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT ENABLE_QT_GUI)
|
2023-05-10 19:22:46 +00:00
|
|
|
add_custom_command(TARGET shadps4 POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
$<TARGET_FILE:SDL3-shared>
|
2023-06-23 01:48:55 +00:00
|
|
|
$<TARGET_FILE_DIR:shadps4>)
|
2024-02-29 22:00:35 +00:00
|
|
|
endif()
|
|
|
|
|
2024-02-14 22:52:57 +00:00
|
|
|
if (WIN32)
|
|
|
|
add_custom_command(TARGET shadps4 POST_BUILD
|
2023-07-17 20:19:33 +00:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
"${PROJECT_SOURCE_DIR}/third-party/winpthread/bin/libwinpthread-1.dll" $<TARGET_FILE_DIR:shadps4>)
|
2024-02-14 22:52:57 +00:00
|
|
|
endif()
|