C

Qt Quick Ultralite timeline Example

cmake_minimum_required (VERSION 3.15)

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

add_executable(timeline)
qul_target_qml_sources(timeline timeline.qml)
target_link_libraries (timeline
    Qul::QuickUltralite
    Qul::QuickUltraliteTimeline
    Qul::QuickUltralitePlatform
)
app_target_setup_os(timeline)
app_target_default_main(timeline timeline)

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