---
title: "CMake Reference"
description: "Reference for the Slint CMake integration — slint_target_sources, resource embedding, scale factor and translation properties."
---
The Slint CMake integration provides a function to compile `.slint` files into
your target, plus target properties that control resource embedding, scaling and
translations:

- [`slint_target_sources`](slint-target-sources/) — register `.slint` files with a target, set the C++ namespace, library paths and compilation units.
- [Resource Embedding](resource-embedding/) — embed images and fonts into the binary with `SLINT_EMBED_RESOURCES`.
- [Scale Factor for Microcontrollers](scale-factor/) — set a compile-time device pixel ratio with `SLINT_SCALE_FACTOR`.
- [Bundle Translations](bundle-translations/) — embed translated strings with `SLINT_BUNDLE_TRANSLATIONS`.
- [Translation Domain](translation-domain/) — override the gettext domain with `SLINT_TRANSLATION_DOMAIN`.
- [Disable Default Translation Context](disable-default-translation-context/) — control the default translation context with `SLINT_NO_DEFAULT_TRANSLATION_CONTEXT`.