minecraft-pi-reborn/dependencies/CMakeLists.txt

37 lines
1.1 KiB
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(dependencies)
2023-11-11 05:44:26 +00:00
# stb_image
if(BUILD_ARM_COMPONENTS AND NOT MCPI_HEADLESS_MODE)
add_subdirectory(stb_image)
2022-07-13 20:46:33 +00:00
endif()
2021-06-17 21:32:24 +00:00
# Minecraft: Pi Edition
2022-03-10 02:23:41 +00:00
if(BUILD_ARM_COMPONENTS AND NOT MCPI_OPEN_SOURCE_ONLY)
2021-12-19 21:09:16 +00:00
add_subdirectory(minecraft-pi)
endif()
2022-03-12 01:02:38 +00:00
# Zenity (Minimal Build)
if(BUILD_NATIVE_COMPONENTS AND NOT MCPI_SERVER_MODE)
2022-03-11 05:00:13 +00:00
add_subdirectory(zenity)
endif()
2022-09-25 19:47:36 +00: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-27 00:59:46 +00: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 05:44:26 +00:00
# GLFW
if(BUILD_MEDIA_LAYER_CORE AND NOT MCPI_HEADLESS_MODE)
add_subdirectory(glfw)
endif()
# GLES Compatibility Layer
2023-11-12 00:22:07 +00:00
if(BUILD_MEDIA_LAYER_CORE AND NOT MCPI_HEADLESS_MODE AND MCPI_USE_GLES1_COMPATIBILITY_LAYER)
2023-11-11 05:44:26 +00:00
add_subdirectory(gles-compatibility-layer)
endif()
2023-11-11 06:33:19 +00:00
# UTF8-CPP
add_subdirectory(utf8cpp)
2024-01-06 11:30:23 +00:00
# Symbol Prcoessor
if(BUILD_ARM_COMPONENTS)
add_subdirectory(symbol-processor)
endif()