C
Qt Quick Ultralite multitask Example
cmake_minimum_required (VERSION 3.21.1) project(board_utils) set(BOARD_UTILS_CMAKE_PATH ${CMAKE_CURRENT_LIST_DIR}/src/${QUL_PLATFORM}/board.cmake) if(NOT EXISTS ${BOARD_UTILS_CMAKE_PATH}) message(FATAL_ERROR "Board Utils are not supported for this platform!") endif() add_library(board_utils STATIC) include(${BOARD_UTILS_CMAKE_PATH}) target_include_directories(board_utils PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include) target_link_libraries(board_utils PRIVATE "$<BUILD_INTERFACE:Qul::PlatformArchitecture>") target_link_libraries(board_utils PRIVATE "$<BUILD_INTERFACE:Qul::PlatformBSPConfig>") # This library uses SDK files and needs to inherit the platform defines