#[[ Copyright (c) CompanyNameMagicTag. 2023-2023. All rights reserved. Description: CMake entries of sub-directories. Author: Media Software Group Create: 2023-03-25 ]] set(PUBLIC_HEADER ) set(COMPONENT_PUBLIC_CCFLAGS ) set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") set(ROOTDIR ${ROOT_DIR}) if (RAM_COMPONENT_SET MATCHES "media") set(MODULE_NAME "media") set(AUTO_DEF_FILE_ID TRUE) add_subdirectory(foundation) set(COMPONENT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/component) if (EXISTS ${COMPONENT_DIR}) add_subdirectory(${COMPONENT_DIR}) endif() set(HAL_DIR ${CMAKE_CURRENT_SOURCE_DIR}/hal) if (EXISTS ${HAL_DIR}) add_subdirectory(${HAL_DIR}) endif() if ("${CHIP}" STREQUAL "brandy") # hal_release depends hal, so the position should be after hal add_subdirectory(hal_release) endif() endif()