17 lines
371 B
CMake
Raw Normal View History

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