# ports/pic32 if(QPCPP_CFG_UNIT_TEST) target_include_directories(qpcpp PUBLIC qutest/xc32) else() if(NOT KERNEL MATCHES "q[vk]") message(WARNING "Kernel ${KERNEL} is not supported! Falling back to QV kernel") set(KERNEL qv) endif() set(KERNEL_PORT_CPP ${CMAKE_CURRENT_LIST_DIR}/${KERNEL}/xc32/${KERNEL}_port.cpp) if(EXISTS ${KERNEL_PORT_CPP}) target_sources(qpcpp PRIVATE ${KERNEL_PORT_CPP}) endif() target_include_directories(qpcpp PUBLIC ${KERNEL}/xc32) endif()