2017-03-13 23:45:25 +01:00
|
|
|
set(ARMIPS_REGEXP OFF CACHE BOOL "" FORCE)
|
2022-09-30 18:47:26 -07:00
|
|
|
set(ARMIPS_LIBRARY_ONLY ON CACHE BOOL "" FORCE)
|
2022-10-01 07:59:17 -07:00
|
|
|
if(WIN32)
|
|
|
|
|
set(ARMIPS_USE_STD_FILESYSTEM ON CACHE BOOL "" FORCE)
|
|
|
|
|
endif()
|
2017-03-13 23:45:25 +01:00
|
|
|
|
2022-12-17 10:08:46 -08:00
|
|
|
if(USE_ARMIPS)
|
|
|
|
|
add_subdirectory(armips)
|
|
|
|
|
endif()
|
2016-12-18 19:01:05 +01:00
|
|
|
if(NOT USING_GLES2)
|
2018-11-10 07:39:27 -08:00
|
|
|
add_subdirectory(glew)
|
2016-12-18 19:01:05 +01:00
|
|
|
endif()
|
|
|
|
|
|
2016-12-20 02:01:30 +01:00
|
|
|
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "let's not build binaries we don't need" FORCE)
|
2017-12-07 22:33:41 +01:00
|
|
|
set(SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS ON CACHE BOOL "let's not use exceptions" FORCE)
|
2021-04-05 18:30:57 +02:00
|
|
|
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "we don't need spvremapper" FORCE)
|
2017-03-13 23:45:25 +01:00
|
|
|
|
2019-07-23 22:57:06 +02: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 13:02:36 -08: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 15:58:40 -08:00
|
|
|
add_subdirectory(cmake/cpu_features EXCLUDE_FROM_ALL)
|
2023-01-29 13:02:36 -08: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 19:01:05 +01:00
|
|
|
add_subdirectory(snappy)
|
|
|
|
|
add_subdirectory(udis86)
|
2017-03-06 18:50:51 +01:00
|
|
|
add_subdirectory(SPIRV-Cross-build)
|
2023-06-17 13:48:49 +02:00
|
|
|
add_subdirectory(rcheevos-build)
|
2023-07-20 16:01:51 +02:00
|
|
|
if(NOT HTTPS_NOT_AVAILABLE)
|
|
|
|
|
add_subdirectory(naett-build)
|
|
|
|
|
endif()
|
2020-03-17 12:32:07 -07:00
|
|
|
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
|
2018-11-10 07:39:27 -08:00
|
|
|
add_subdirectory(discord-rpc-build)
|
2018-08-26 23:10:37 +02:00
|
|
|
endif()
|