1XDT-CSOURCE(1) Xfce Users Manual XDT-CSOURCE(1)
2
3
4
6 xdt-csource - C code generation utility for arbitrary data
7
9 xdt-csource [options] [file]
10
11 xdt-csource [options] --build-list [[name] [file]...]
12
14 xdt-csource is a small utility that generates C code containing
15 arbitrary data, useful for compiling texts or other data directly into
16 programs. It supersedes exo-csource.
17
19 xdt-csource either takes as input one file name to generate code for,
20 or, using the --build-list option, a list of (name, file) pairs to
21 generate code for a list of images into named variables.
22
23 Options
24 -h, --help
25 Print brief help and exit.
26
27 -V, --version
28 Print version information and exit.
29
30 --extern
31 Generate extern symbols.
32
33 --static
34 Generate static symbols (default).
35
36 --name=identifier
37 Specifies the identifier name (prefix) for the generated variables
38 (only used if --build-list was not specified as well).
39
40 --build-list
41 Enables (name, file) pair parsing mode.
42
43 --strip-comments
44 Remove comments from XML files
45
46 --strip-content
47 Remove node contents from XML files
48
49 --output=identifier
50 Prints the output to identifier instead of stdout (only used if
51 --build-list was not specified as well).
52
54 The gdk-pixbuf-csource utility which ships with the Gtk+ distribution,
55 available from www.gtk.org[1].
56
58 Original program exo-csource was written by Benedikt Meurer
59 <benny@xfce.org>. xdt-csource supersedes it.
60
61 This manual page was provided by the Xfce Development Team
62 <xfce4-dev@xfce.org>.
63
65 1. www.gtk.org
66 https://www.gtk.org
67
68
69
70Xfce 12/22/2020 XDT-CSOURCE(1)