This example is a standalone CMake project for users who want to add Donner to their own CMake application from a Donner source checkout. It imports Donner with add_subdirectory(), links the exported donner target, parses a small SVG document, queries the DOM, renders it, and exits non-zero if any step fails.
Fonts are external package resources. With text enabled, deploy the generated fallback-font directory beside the executable as donner-assets; linking the library alone does not copy data. The example replaces its generated companion directory in its post-build step, so an incremental asset change cannot leave obsolete files behind. Keep the complete directory, including its manifest, with the executable when relocating or packaging it. A host with a different installation layout can explicitly install a PackagedResourceDirectoryProvider instead. Resource lookup never uses the working directory. No-text builds do not need this font data.
The important part is the same pattern an external project should use:
Generate Donner's CMake files before configuring your project:
From another source tree, point the example at a Donner checkout: