Files
fltk/util
Albrecht Schlosser a057e13fb4
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled
Improve code snapshot generation for PDF docs (#1353)
CMake: execute `code_snapshot` separately for each file we want to
  scan so we can create timestamps and generate PNG images only if
  the source file (e.g. unicode.dox) was modified.

documentation/src/unicode.dox: remove output folder `generated`, use
  only the filename. CMake sets the current working directory as needed.

util/code_snapshot.cxx: format and improve comments, reset code buffer
  so we can generate multiple images per input file.
2025-12-29 20:02:06 +01:00
..

Utility programs used to build the FLTK library.

Contents:

  cmap.cxx              generate src/fl_cmap.h
  code_snapshot.cxx     PDF documentation tool to generate a png image from a
                        Doxygen `@code` segment with international characters

Build System:

  The util directory includes CMake support. Utilities are built
  automatically during the build process when needed. Some utilities
  are only built when specific features are enabled:

  - the PDF documentation helper is only built when FLTK_BUILD_PDF_DOCS=ON

  To add a new utility, edit util/CMakeLists.txt and follow the existing
  patterns for conditional building and target configuration.