C

Qt Quick Ultralite layouts Example

cmake_minimum_required (VERSION 3.21.1)

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

qul_add_target(layouts QML_PROJECT mcu_layouts.qmlproject GENERATE_ENTRYPOINT)
app_target_setup_os(layouts)

if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32)
    add_custom_command(TARGET layouts
        COMMAND strip layouts -o layouts.stripped
        DEPENDS layouts)
endif()