C

Qt Quick Ultralite interrupt_handler Example

# Copyright (C) 2025 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
if(NOT DEFINED QUL_BOARD_SDK_DIR)
    message(FATAL_ERROR "Please define the QUL_BOARD_SDK_DIR CMake cache entry")
endif()
file(TO_CMAKE_PATH "${QUL_BOARD_SDK_DIR}" QUL_BOARD_SDK_DIR)
message(STATUS "QUL_BOARD_SDK_DIR: " ${QUL_BOARD_SDK_DIR})

target_sources(interrupt_handler PRIVATE
    board_config.cpp
    nxp_config.c
)

if(QUL_OS STREQUAL "FreeRTOS")
    target_compile_definitions(interrupt_handler PRIVATE NXP_FREERTOS)
endif()