mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-04 06:06:00 +00:00
2e931c9f72
* added dummy sceAudio lib * added lseek in file_system * updated sdl3 * forgot sdl3 in cmake * cmake is case sensitive in linux * fixed SDL_CreateWindowWithPosition * fixed vulkan issues with latest sdl3 * some progress in sceAudio * improvements in audio * more sound improvements * first working sound output , from openorbis sound demo * updated sdl3 , zlib-ng can now be build with msvc+clangci * fixed cmake * fix for audio buffering * clang format fix * format fix * better error handling for sceAudioOutput
38 lines
849 B
CMake
38 lines
849 B
CMake
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
if (MSVC)
|
|
# Silence "deprecation" warnings
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS)
|
|
endif()
|
|
|
|
# fmtlib
|
|
add_subdirectory(fmt EXCLUDE_FROM_ALL)
|
|
|
|
# MagicEnum
|
|
add_subdirectory(magic_enum EXCLUDE_FROM_ALL)
|
|
|
|
# Toml11
|
|
add_subdirectory(toml11 EXCLUDE_FROM_ALL)
|
|
|
|
# Vulkan
|
|
add_subdirectory(vulkan EXCLUDE_FROM_ALL)
|
|
|
|
# Winpthreads
|
|
if (WIN32)
|
|
add_subdirectory(winpthread EXCLUDE_FROM_ALL)
|
|
target_include_directories(winpthread INTERFACE winpthread/include)
|
|
endif()
|
|
|
|
# xxHash
|
|
add_library(xxhash INTERFACE)
|
|
target_include_directories(xxhash INTERFACE xxhash)
|
|
|
|
# Zydis
|
|
option(ZYDIS_BUILD_TOOLS "" OFF)
|
|
option(ZYDIS_BUILD_EXAMPLES "" OFF)
|
|
add_subdirectory(zydis EXCLUDE_FROM_ALL)
|
|
|
|
|
|
|