37 lines
1.1 KiB
CMake
Raw Normal View History

2021-06-17 17:32:24 -04:00
project(dependencies)
2023-11-11 00:44:26 -05:00
# stb_image
if(BUILD_ARM_COMPONENTS AND NOT MCPI_HEADLESS_MODE)
add_subdirectory(stb_image)
2022-07-13 16:46:33 -04:00
endif()
2021-06-17 17:32:24 -04:00
# Minecraft: Pi Edition
2022-03-09 21:23:41 -05:00
if(BUILD_ARM_COMPONENTS AND NOT MCPI_OPEN_SOURCE_ONLY)
2021-12-19 16:09:16 -05:00
add_subdirectory(minecraft-pi)
endif()
2022-03-11 20:02:38 -05:00
# Zenity (Minimal Build)
if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_SERVER_MODE)
2022-03-11 00:00:13 -05:00
add_subdirectory(zenity)
endif()
2022-09-25 15:47:36 -04:00
# LIEF
if(BUILD_NATIVE_COMPONENTS OR (BUILD_ARM_COMPONENTS AND NOT MCPI_SERVER_MODE AND NOT MCPI_USE_MEDIA_LAYER_PROXY))
add_subdirectory(LIEF)
endif()
2022-09-26 20:59:46 -04:00
# QEMU
if(BUILD_NATIVE_COMPONENTS AND NOT (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64"))
add_subdirectory(qemu)
endif()
2023-11-11 00:44:26 -05:00
# GLFW
if(BUILD_MEDIA_LAYER_CORE AND NOT MCPI_HEADLESS_MODE)
add_subdirectory(glfw)
endif()
# GLES Compatibility Layer
2023-11-11 19:22:07 -05:00
if(BUILD_MEDIA_LAYER_CORE AND NOT MCPI_HEADLESS_MODE AND MCPI_USE_GLES1_COMPATIBILITY_LAYER)
2023-11-11 00:44:26 -05:00
add_subdirectory(gles-compatibility-layer)
endif()
2023-11-11 01:33:19 -05:00
# UTF8-CPP
add_subdirectory(utf8cpp)
2024-01-06 06:30:23 -05:00
# Symbol Prcoessor
if(BUILD_ARM_COMPONENTS)
add_subdirectory(symbol-processor)
endif()