cmake_minimum_required(VERSION 3.12) project(bsp C) add_subdirectory(libwrap) add_subdirectory(env) message(STATUS " in bsp with ${CMAKE_CXX_FLAGS}") message(STATUS " SUPPORTED_BOARDS= ${SUPPORTED_BOARDS}") add_library(${PROJECT_NAME} INTERFACE) target_include_directories(${PROJECT_NAME} INTERFACE include/ env/${BOARD} env/)