C
Qt Quick Ultralite studio_components Example
cmake_minimum_required (VERSION 3.21.1)
project(studio_components VERSION 0.0.1 LANGUAGES C CXX ASM)
if (NOT TARGET Qul::Core)
find_package(Qul)
endif()
if(QUL_PLATFORM MATCHES "^tviic2")
set(SELECTORS no_stroke)
endif()
qul_add_target(studio_components
QML_PROJECT mcu_studio_components.qmlproject
SELECTORS ${SELECTORS}
GENERATE_ENTRYPOINT)
app_target_setup_os(studio_components)
if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32)
add_custom_command(TARGET studio_components
COMMAND strip studio_components -o studio_components.stripped
DEPENDS studio_components)
endif()