C

Qt Quick Ultralite static_library Example

cmake_minimum_required (VERSION 3.17.3)

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

qul_add_target(Qt4MCU_GUI STATIC_LIBRARY)

qul_target_generate_interfaces(Qt4MCU_GUI sensorData.h)
qul_target_qml_sources(Qt4MCU_GUI mainGui.qml)

target_include_directories(Qt4MCU_GUI
    PRIVATE
        ${EXAMPLE_ROOT_DIR}/include
)

target_link_libraries(Qt4MCU_GUI Qul::QuickUltraliteControlsStyleDefault)

app_target_default_entrypoint(Qt4MCU_GUI mainGui)