C
Qt Quick Ultralite font_quality Example
cmake_minimum_required (VERSION 3.21.1)
project(font_quality VERSION 0.0.1 LANGUAGES C CXX ASM)
if (NOT TARGET Qul::Core)
find_package(Qul)
endif()
qul_add_target(font_quality)
set_target_properties(font_quality PROPERTIES
QUL_AUTO_GENERATE_GLYPHS OFF
QUL_DEFAULT_FONT_QUALITY "VeryLow")
qul_target_qml_sources(font_quality font_quality.qml)
app_target_setup_os(font_quality)
app_target_default_entrypoint(font_quality font_quality)
qul_add_target(font_quality_all_glyphs)
set_target_properties(font_quality_all_glyphs PROPERTIES
QUL_AUTO_GENERATE_GLYPHS ON
QUL_DEFAULT_FONT_QUALITY "VeryLow")
qul_target_qml_sources(font_quality_all_glyphs font_quality.qml)
app_target_setup_os(font_quality_all_glyphs)
app_target_default_entrypoint(font_quality_all_glyphs font_quality)
if (QUL_BUILD_QMLPROJECT_EXAMPLES)
qul_add_target(font_quality_qmlproject QML_PROJECT mcu_font_quality.qmlproject)
app_target_setup_os(font_quality_qmlproject)
app_target_default_entrypoint(font_quality_qmlproject font_quality)
qul_add_target(font_quality_all_glyphs_qmlproject QML_PROJECT mcu_font_quality_all_glyphs.qmlproject)
app_target_setup_os(font_quality_all_glyphs_qmlproject)
app_target_default_entrypoint(font_quality_all_glyphs_qmlproject font_quality)
endif()