2017-03-13 22:45:25 +00:00
|
|
|
set(ARMIPS_REGEXP OFF CACHE BOOL "" FORCE)
|
2022-10-01 01:47:26 +00:00
|
|
|
set(ARMIPS_LIBRARY_ONLY ON CACHE BOOL "" FORCE)
|
2022-10-01 14:59:17 +00:00
|
|
|
if(WIN32)
|
|
|
|
set(ARMIPS_USE_STD_FILESYSTEM ON CACHE BOOL "" FORCE)
|
|
|
|
endif()
|
2017-03-13 22:45:25 +00:00
|
|
|
|
2022-12-17 18:08:46 +00:00
|
|
|
if(USE_ARMIPS)
|
|
|
|
add_subdirectory(armips)
|
|
|
|
endif()
|
2016-12-18 18:01:05 +00:00
|
|
|
if(NOT USING_GLES2)
|
2018-11-10 15:39:27 +00:00
|
|
|
add_subdirectory(glew)
|
2016-12-18 18:01:05 +00:00
|
|
|
endif()
|
|
|
|
|
2016-12-20 01:01:30 +00:00
|
|
|
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "let's not build binaries we don't need" FORCE)
|
2017-12-07 21:33:41 +00:00
|
|
|
set(SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS ON CACHE BOOL "let's not use exceptions" FORCE)
|
2021-04-05 16:30:57 +00:00
|
|
|
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "we don't need spvremapper" FORCE)
|
2017-03-13 22:45:25 +00:00
|
|
|
|
2019-07-23 20:57:06 +00:00
|
|
|
# This is really a workaround for an NDK 20 compiler issue (PPSSPP issue #12105), but shouldn't hurt.
|
|
|
|
if(ANDROID)
|
|
|
|
set(ENABLE_HLSL OFF CACHE BOOL "let's not build HLSL support we don't need" FORCE)
|
|
|
|
endif()
|
|
|
|
|
2023-01-29 21:02:36 +00:00
|
|
|
# This works around a bug in cpu_features when ${CMAKE_BINARY_DIR} != ${CMAKE_CURRENT_BINRARY_DIR}.
|
|
|
|
# We also disable the list_cpu_features binary.
|
2023-02-26 23:58:40 +00:00
|
|
|
add_subdirectory(cmake/cpu_features EXCLUDE_FROM_ALL)
|
2023-01-29 21:02:36 +00:00
|
|
|
|
|
|
|
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "" FORCE)
|
|
|
|
set(ENABLE_GLSLANG_INSTALL OFF)
|
2020-06-27 20:18:33 +00:00
|
|
|
add_subdirectory(glslang EXCLUDE_FROM_ALL)
|
2016-12-18 18:01:05 +00:00
|
|
|
add_subdirectory(snappy)
|
2024-04-09 15:29:57 +00:00
|
|
|
add_subdirectory(minimp3)
|
2024-04-11 08:45:29 +00:00
|
|
|
add_subdirectory(at3_standalone)
|
2016-12-18 18:01:05 +00:00
|
|
|
add_subdirectory(udis86)
|
2017-03-06 17:50:51 +00:00
|
|
|
add_subdirectory(SPIRV-Cross-build)
|
2023-06-17 11:48:49 +00:00
|
|
|
add_subdirectory(rcheevos-build)
|
2023-07-20 14:01:51 +00:00
|
|
|
if(NOT HTTPS_NOT_AVAILABLE)
|
|
|
|
add_subdirectory(naett-build)
|
|
|
|
endif()
|
2020-03-17 19:32:07 +00:00
|
|
|
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
|
2018-11-10 15:39:27 +00:00
|
|
|
add_subdirectory(discord-rpc-build)
|
2018-08-26 21:10:37 +00:00
|
|
|
endif()
|
2023-09-22 16:24:37 +00:00
|
|
|
|
2023-09-22 20:14:49 +00:00
|
|
|
add_subdirectory(libchdr-build)
|
2023-12-12 16:26:22 +00:00
|
|
|
|
|
|
|
if(ANDROID)
|
|
|
|
if (ARM64)
|
|
|
|
add_subdirectory(libadrenotools)
|
|
|
|
endif()
|
|
|
|
endif()
|