minecraft-pi-reborn/media-layer/CMakeLists.txt

17 lines
395 B
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(media-layer)
# Add Headers
add_library(media-layer-headers INTERFACE)
2024-11-20 00:57:43 +00:00
setup_header_dirs(media-layer-headers "${CMAKE_CURRENT_SOURCE_DIR}/include")
setup_library(media-layer-headers FALSE TRUE)
2021-06-17 21:32:24 +00:00
# Add Core
2023-11-11 05:44:26 +00:00
if(BUILD_MEDIA_LAYER_CORE)
2022-07-02 22:14:23 +00:00
add_subdirectory(core)
endif()
2021-06-17 21:32:24 +00:00
2024-05-12 01:14:14 +00:00
# Add Trampoline
if(MCPI_USE_MEDIA_LAYER_TRAMPOLINE OR BUILD_ARM_COMPONENTS)
add_subdirectory(trampoline)
2021-06-17 21:32:24 +00:00
endif()