2023-11-28 03:52:27 +00:00
|
|
|
set(FMT_INSTALL OFF CACHE BOOL "")
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(fmt EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(fmt)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(stb EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(stb)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(minizip EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(minizip)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(lzma EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(lzma)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(libchdr EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(libchdr)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(xxhash EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(xxhash)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(rapidjson EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(glslang EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(glslang)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(imgui EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(imgui)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(simpleini EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(simpleini)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(vulkan EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(soundtouch EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(soundtouch)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(googletest EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(cpuinfo EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(cpuinfo)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(fast_float EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(reshadefx EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(reshadefx)
|
2023-09-07 10:13:48 +00:00
|
|
|
add_subdirectory(rcheevos EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(rcheevos)
|
2024-02-03 16:18:15 +00:00
|
|
|
add_subdirectory(rapidyaml EXCLUDE_FROM_ALL)
|
|
|
|
disable_compiler_warnings_for_target(rapidyaml)
|
2021-05-23 06:08:41 +00:00
|
|
|
|
2024-02-03 07:12:40 +00:00
|
|
|
# Build dependencies on Windows/Android.
|
|
|
|
if(WIN32 OR ANDROID)
|
|
|
|
add_subdirectory(zlib EXCLUDE_FROM_ALL)
|
|
|
|
disable_compiler_warnings_for_target(zlib)
|
|
|
|
add_subdirectory(zstd EXCLUDE_FROM_ALL)
|
|
|
|
disable_compiler_warnings_for_target(zstd)
|
|
|
|
endif()
|
|
|
|
|
2022-08-04 11:34:16 +00:00
|
|
|
if(ENABLE_CUBEB)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(cubeb EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(cubeb)
|
|
|
|
disable_compiler_warnings_for_target(speex)
|
2022-08-04 11:34:16 +00:00
|
|
|
endif()
|
|
|
|
|
2023-08-22 08:36:16 +00:00
|
|
|
if(ENABLE_OPENGL)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(glad EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(glad)
|
2023-08-22 08:36:16 +00:00
|
|
|
endif()
|
|
|
|
|
2020-04-30 15:01:42 +00:00
|
|
|
if(ENABLE_DISCORD_PRESENCE)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(discord-rpc EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(discord-rpc)
|
2020-04-30 15:01:42 +00:00
|
|
|
endif()
|
2019-09-09 07:01:26 +00:00
|
|
|
|
2023-11-24 09:14:57 +00:00
|
|
|
if(CPU_ARCH_X64)
|
2023-10-21 03:46:56 +00:00
|
|
|
add_subdirectory(xbyak EXCLUDE_FROM_ALL)
|
|
|
|
add_subdirectory(zydis EXCLUDE_FROM_ALL)
|
|
|
|
disable_compiler_warnings_for_target(zydis)
|
|
|
|
endif()
|
|
|
|
|
2023-11-24 09:14:57 +00:00
|
|
|
if(CPU_ARCH_ARM32 OR CPU_ARCH_ARM64)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(vixl EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(vixl)
|
2019-12-04 10:11:06 +00:00
|
|
|
endif()
|
|
|
|
|
2023-11-24 09:14:57 +00:00
|
|
|
if(CPU_ARCH_RISCV64)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(biscuit EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(biscuit)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(riscv-disas EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(riscv-disas)
|
2023-05-29 14:11:06 +00:00
|
|
|
endif()
|
2023-08-05 10:29:52 +00:00
|
|
|
|
2023-09-02 03:41:41 +00:00
|
|
|
if(WIN32)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(d3d12ma EXCLUDE_FROM_ALL)
|
2023-09-30 05:39:52 +00:00
|
|
|
disable_compiler_warnings_for_target(d3d12ma)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(winpixeventruntime EXCLUDE_FROM_ALL)
|
2023-09-02 03:41:41 +00:00
|
|
|
endif()
|
|
|
|
|
2023-08-05 10:29:52 +00:00
|
|
|
if(APPLE)
|
2023-09-05 12:57:58 +00:00
|
|
|
add_subdirectory(spirv-cross EXCLUDE_FROM_ALL)
|
2023-09-30 11:54:12 +00:00
|
|
|
disable_compiler_warnings_for_target(spirv-cross)
|
2023-08-05 10:29:52 +00:00
|
|
|
endif()
|