C

Qt Quick Ultralite multiscreen Example

cmake_minimum_required (VERSION 3.15)

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

qul_add_target(multiscreen)
qul_target_qml_sources(multiscreen multiscreen.qml)

app_target_setup_os(multiscreen)
app_target_default_entrypoint(multiscreen multiscreen)

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