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::Core) 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() if (QUL_BUILD_QMLPROJECT_EXAMPLES) qul_add_target(multiscreen_qmlproject QML_PROJECT mcu_multiscreen.qmlproject) app_target_setup_os(multiscreen_qmlproject) app_target_default_entrypoint(multiscreen_qmlproject multiscreen) if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32) add_custom_command(TARGET multiscreen_qmlproject COMMAND strip multiscreen_qmlproject -o multiscreen.stripped DEPENDS multiscreen_qmlproject) endif() endif()