Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/ext/CMakeLists.txt
5845 views
1
set(ARMIPS_REGEXP OFF CACHE BOOL "" FORCE)
2
set(ARMIPS_LIBRARY_ONLY ON CACHE BOOL "" FORCE)
3
if(WIN32)
4
set(ARMIPS_USE_STD_FILESYSTEM ON CACHE BOOL "" FORCE)
5
endif()
6
7
add_subdirectory(armips)
8
9
if(NOT USING_GLES2)
10
add_subdirectory(glew)
11
endif()
12
13
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "let's not build binaries we don't need" FORCE)
14
set(SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS ON CACHE BOOL "let's not use exceptions" FORCE)
15
set(ENABLE_SPVREMAPPER OFF CACHE BOOL "we don't need spvremapper" FORCE)
16
17
# not really needed since we currently bypass the official cmakelists...
18
set(ZLIB_BUILD_EXAMPLES OFF CACHE BOOL "we don't need zlib examples" FORCE)
19
20
# This is really a workaround for an NDK 20 compiler issue (PPSSPP issue #12105), but shouldn't hurt.
21
if(ANDROID)
22
set(ENABLE_HLSL OFF CACHE BOOL "let's not build HLSL support we don't need" FORCE)
23
endif()
24
25
# This works around a bug in cpu_features when ${CMAKE_BINARY_DIR} != ${CMAKE_CURRENT_BINRARY_DIR}.
26
# We also disable the list_cpu_features binary.
27
add_subdirectory(cmake/cpu_features EXCLUDE_FROM_ALL)
28
29
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "" FORCE)
30
set(ENABLE_GLSLANG_INSTALL OFF)
31
add_subdirectory(glslang EXCLUDE_FROM_ALL)
32
add_subdirectory(snappy)
33
add_subdirectory(lua-build)
34
add_subdirectory(minimp3)
35
add_subdirectory(at3_standalone)
36
add_subdirectory(udis86)
37
add_subdirectory(SPIRV-Cross-build)
38
add_subdirectory(rcheevos-build)
39
40
set(FT_REQUIRE_ZLIB OFF CACHE BOOL "" FORCE)
41
set(FT_REQUIRE_BZIP2 OFF CACHE BOOL "" FORCE)
42
set(FT_REQUIRE_PNG OFF CACHE BOOL "" FORCE)
43
set(FT_REQUIRE_HARFBUZZ OFF CACHE BOOL "" FORCE)
44
set(FT_REQUIRE_BROTLI OFF CACHE BOOL "" FORCE)
45
if(NOT LIBRETRO)
46
add_subdirectory(freetype)
47
endif()
48
49
if(NOT LIBRETRO)
50
add_subdirectory(imgui)
51
endif()
52
if(NOT HTTPS_NOT_AVAILABLE)
53
add_subdirectory(naett-build)
54
endif()
55
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
56
add_subdirectory(discord-rpc-build)
57
endif()
58
59
add_subdirectory(libchdr-build)
60
61
if(ANDROID)
62
if (ARM64)
63
add_subdirectory(libadrenotools)
64
endif()
65
endif()
66
67