MCUXpresso_MCXA153/middleware/freemaster/middleware_fmstr_template_cfg_gen32le.cmake
Yilin Sun 35e678394a
Initial commit v2.14.2
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-11 19:33:06 +08:00

15 lines
549 B
CMake

# Add set(CONFIG_USE_middleware_fmstr_template_cfg_gen32le true) in config.cmake to use this component
include_guard(GLOBAL)
message("${CMAKE_CURRENT_LIST_FILE} component is included.")
if(CONFIG_USE_middleware_fmstr_platform_gen32le)
add_config_file(${CMAKE_CURRENT_LIST_DIR}/src/template/gen32le/freemaster_cfg.h ${CMAKE_CURRENT_LIST_DIR}/src/template/gen32le middleware_fmstr_template_cfg_gen32le)
else()
message(SEND_ERROR "middleware_fmstr_template_cfg_gen32le dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
endif()