|
1 .\" |
|
2 .\" CDDL HEADER START |
|
3 .\" |
|
4 .\" The contents of this file are subject to the terms of the |
|
5 .\" Common Development and Distribution License (the "License"). |
|
6 .\" You may not use this file except in compliance with the License. |
|
7 .\" |
|
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 .\" or http://www.opensolaris.org/os/licensing. |
|
10 .\" See the License for the specific language governing permissions |
|
11 .\" and limitations under the License. |
|
12 .\" |
|
13 .\" When distributing Covered Code, include this CDDL HEADER in each |
|
14 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 .\" If applicable, add the following below this CDDL HEADER, with the |
|
16 .\" fields enclosed by brackets "[]" replaced with your own identifying |
|
17 .\" information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 .\" |
|
19 .\" CDDL HEADER END |
|
20 .\" |
|
21 .\" Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. |
|
22 .\" |
|
23 '\" te |
|
24 .TH wxrc 1 "5 Aug 2008" "SunOS 5.11" "User Commands" |
|
25 .SH NAME |
|
26 wxrc \- compile binary xml resource files |
|
27 .SH SYNOPSIS |
|
28 .LP |
|
29 .nf |
|
30 \fBwxrc\fR [\fB\fIresource_filename\fR] |
|
31 .fi |
|
32 |
|
33 .LP |
|
34 .nf |
|
35 \fBwxrc\fR [\fB\fIresource_filename\fR] [\fB\fIoptions\fR]... |
|
36 .fi |
|
37 |
|
38 .SH DESCRIPTION |
|
39 .LP |
|
40 The \fBwxrc\fR utility compiles binary xml resource files. It takes one or more file parameters (the input XRC files). |
|
41 .SH OPTIONS |
|
42 .LP |
|
43 The following options are supported: |
|
44 .TP |
|
45 \fB-h\fR |
|
46 .TP |
|
47 \fB--help\fR |
|
48 Show a help message. |
|
49 |
|
50 .TP |
|
51 \fB-v\fR |
|
52 .TP |
|
53 \fB--verbose\fR |
|
54 Show verbose logging information |
|
55 |
|
56 .TP |
|
57 \fB-c\fR |
|
58 .TP |
|
59 \fB--cpp-code\fR |
|
60 Write C++ source rather than a XRS file |
|
61 |
|
62 .TP |
|
63 \fB-e\fR |
|
64 .TP |
|
65 \fB--extra-cpp-code\fR |
|
66 If used together with -c, generates C++ header file containing class definitions for the windows defined by the XRC file (see special subsection) |
|
67 |
|
68 .TP |
|
69 \fB-u\fR |
|
70 .TP |
|
71 \fB--uncompressed\fR |
|
72 Do not compress XML files (C++ only) |
|
73 |
|
74 .TP |
|
75 \fB-g\fR |
|
76 .TP |
|
77 \fB--gettext\fR |
|
78 Output underscore-wrapped strings that poEdit or gettext can scan. Outputs to stdout, of a file -o is used. |
|
79 |
|
80 .TP |
|
81 \fB-n\fR |
|
82 .TP |
|
83 \fB--function\fR |
|
84 <name>: Specify C++ function name (use with -c) |
|
85 |
|
86 .TP |
|
87 \fB-o\fR |
|
88 .TP |
|
89 \fB--output\fR |
|
90 <filename>: Specify the output file, such as resource .xrs or resource .cpp. |
|
91 |
|
92 .TP |
|
93 \fB-l\fR |
|
94 .TP |
|
95 \fB--list-of-handlers\fR |
|
96 <filename>: Output a list of necessary handlers to this file |
|
97 |
|
98 .SH EXAMPLES |
|
99 .LP |
|
100 \fBExample 1 \fRCompiling resource .xrc file |
|
101 .LP |
|
102 |
|
103 .sp |
|
104 .in +2 |
|
105 .nf |
|
106 example$ wxrc reource.xrc |
|
107 example$ wxrc -o reource.xrs |
|
108 .fi |
|
109 .in -2 |
|
110 .sp |
|
111 |
|
112 .LP |
|
113 \fBExample 2 \fRCompiling resource .cpp file |
|
114 .LP |
|
115 |
|
116 .sp |
|
117 .in +2 |
|
118 .nf |
|
119 example$ wxrc -v -c -o resource.cpp |
|
120 .fi |
|
121 .in -2 |
|
122 .sp |
|
123 |
|
124 .SH SEE ALSO |
|
125 .LP |
|
126 \fBwx-config\fR(1) |