C

CMake Reference

CMake variable reference

FREERTOS_CONFIG_DIR

Choose FreeRTOS config include dir for app_target_setup_os.

FREERTOS_HEAP_POLICY

Select FreeRTOS heap policy for app_target_setup_os.

OS

Choose OS for app_* convenience functions.

QUL_COLOR_DEPTH

Bits of display color depth to build for.

QUL_DEBUG_BYTECODE

Adds JavaScript bytecode as comments into generated sources.

QUL_DEBUG_LINE_DIRECTIVES

Adds #line directives into the generated sources.

QUL_DEFAULT_FONT_FAMILY

Default font family for Text elements.

QUL_FONTS_DIR

Search path for fonts.

QUL_PLATFORM

Name of the platform to build for.

QUL_TEXTURE_CACHE

Set texture/image cache size.

CMake command reference

app_target_default_main

Adds a minimal main.cpp to target

app_target_setup_os

Set up target for platform OS.

qul_add_qml_module

Creates a target for a QML module.

qul_add_resource

Adds image resources to the target.

qul_target_embed_translations

Embeds translations from .ts files.

qul_target_generate_interfaces

Exposes the exported C++ classes to the QML context.

qul_target_qml_sources

Adds QML source files to a target.

CMake source file properties

QUL_COMPRESSION

Store image in compressed format.

QUL_COPY_TO_RAM

Copy image data to RAM for fast access.

QUL_OPTIMIZE_FOR_ROTATION

Enable optimizations for rotating the image at runtime.

QUL_OPTIMIZE_FOR_SCALE

Enable optimizations for scaling the image at runtime.

CMake toolchains

armgcc

GNU Arm Embedded Toolchain

ghs

Green Hills Compiler Toolchain

Available under certain Qt licenses.
Find out more.