xdt-csource(1)

xdt-csource1

C code generation utility for arbitrary data

Usage

xdt-csource [options] [file]

xdt-csource [options] --build-list [[name] [file] ...]

Overview

xdt-csource is a small utility that generates C code containing arbitrary data, useful for compiling texts or other data directly into programs. It supersedes exo-csource.

Invocation

xdt-csource either takes as input one file name to generate code for, or, using the --build-list option, a list of (name, file) pairs to generate code for a list of images into named variables.

Options

-h, --help

Print brief help and exit.

-V, --version

Print version information and exit.

--extern

Generate extern symbols.

--static

Generate static symbols (default).

--name=identifier

Specifies the identifier name (prefix) for the generated variables (only used if --build-list was not specified as well).

--build-list

Enables (name, file) pair parsing mode.

--strip-comments

Remove comments from XML files

--strip-content

Remove node contents from XML files

--output=identifier

Prints the output to identifier instead of stdout (only used if --build-list was not specified as well).

Notes

1.

www.gtk.org

https://www.gtk.org

Releases

8 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7–10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

Original program exo-csource was written by Benedikt Meurer <[email protected]>. xdt-csource supersedes it.

This manual page was provided by the Xfce Development Team <[email protected]>.

From xfce4-dev-tools 4.20.0-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.