C

Qt Quick Ultralite tvii_effects Example

cmake_minimum_required (VERSION 3.21.1)

project(tvii_effects VERSION 0.0.1 LANGUAGES C CXX ASM)
if (NOT TARGET Qul::Core)
    find_package(Qul)
endif()

qul_add_target(tvii_effects QML_PROJECT mcu_tvii_effects.qmlproject)

qul_limit_string(speed_module "Lib_tvii_effects_tvii_effects_speed_module")
target_include_directories(${speed_module} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_sources(tvii_effects PRIVATE main.cpp)

if(QUL_PLATFORM MATCHES "^tviic2d")
    target_link_libraries(tvii_effects PRIVATE Qul::PlatformTraveoIIExtras)
else()
    message(FATAL_ERROR "tvii_effects example is only supported on Infineon/Cypress Traveo II boards")
endif()

app_target_setup_os(tvii_effects)

add_subdirectory(effects)