]> git.saurik.com Git - wxWidgets.git/blame - debian/wx-config.1
catching default button handling also in password fields
[wxWidgets.git] / debian / wx-config.1
CommitLineData
7714864e
RL
1.TH wx\-config 1 "29 Sep 2004" "Debian GNU/Linux" "wxWidgets"
2
e4c4c1c6 3.SH NAME
7714864e
RL
4wx-config \- wxWidgets configuration search and query tool
5
e4c4c1c6
RL
6.SH SYNOPSIS
7.nh
8.HP
7714864e
RL
9.B wx\-config [ OPTIONS ... ] [ LIB ... ]
10
e4c4c1c6 11.SH DESCRIPTION
7714864e
RL
12.I wx\-config
13returns information about the wxWidgets libraries available on your system.
14It may be used to retrieve the information you require to build applications
15using these libraries.
16.PP
17Changing the library options you wish to use for an application previously
18involved managing alternative configurations by a system dependent means.
19It is now possible to select from any of the configurations installed
20on your system via this single tool. You can view all available
21configurations installed in the system default prefix with the command
22.I wx\-config \-\-list
23and select from them by using the feature options described below.
e4c4c1c6 24.PP
7714864e
RL
25Optional LIB arguments (comma or space separated) may be used to specify
26individually the wxWidgets component libraries that you wish to use,
27or to specify additional components not ususally included by default.
28The magic token
29.B std
30may be used to import all libraries that would be used by default if none
31were specified explicitly.
32.br
33eg.
34.I wx-config --libs std,gizmos
07eb77a6 35.hy
7714864e 36
e4c4c1c6
RL
37.SH OPTIONS
38.l
7714864e
RL
39\fIwx\-config\fP accepts the following options with no restrictions on
40their order as was required in previous releases:
41
42.SS Installed root
43These options change or query the filesystem root for the operations
44listed below.
45
46.TP 15
47.B \-\-prefix[=PREFIX]
48Without the optional argument, the current default prefix will be
49output. If the argument is supplied, PREFIX will be searched for
50matching configs in place of the default. You may use both forms
51in the same command.
52.TP 15
53.B \-\-exec\-prefix[=EXEC-PREFIX]
54Similar to \-\-prefix, but acts on the exec-prefix. If not specified
55will default to the value of prefix.
56
57.SS Query options
58These options return information about the wxWidgets default version
59and and installed alternatives.
60.TP 15
61.B \-\-list
62List all configs in prefix and show those that match any additional
63feature options given.
64.TP 15
65.B \-\-release
66Output the wxWidgets release number.
67.TP 15
68.B \-\-version\-full
69Output the wxWidgets version number in all its glory.
70.TP 15
71.B \-\-basename
72Output the base name of the wxWidgets libraries.
16837dc3
VZ
73.TP 15
74.B \-\-selected-config
75Output the signature of the selected wxWidgets library.
76This is a string of the form "port-unicode-release-version".
77
7714864e
RL
78
79.SS Feature options
80These options select features which determine which wxWidgets
81configuration to use.
82
83.TP 15
84.B \-\-host=HOST
85Specify a (posix extended) regex of host aliases to match for cross
86compiled configurations. eg. \-\-host=i586-mingw32msvc, \-\-host=.*
87If unspecified, the default is to match only configurations native to
88the build machine.
b63b07a8 89.TP 15
7714864e
RL
90.B \-\-toolkit=TOOLKIT
91Specify a (posix extended) regex of the toolkits to match.
92The toolkit is responsible for look and feel of the compiled
93application. eg. gtk, gtk2, motif, msw.
94If unspecified the default is to prefer the system default toolkit,
95but to match any toolkit in the absence of a stricter specification.
b63b07a8 96.TP 15
7714864e
RL
97.B \-\-version[=VERSION]
98Without the optional argument, return the wxWidgets version. If the
99argument is supplied it specifies a (posix extended) regex of the
100versions to match. If unspecified the default is to prefer the system
101default version, but to match any version in the absence of a stricter
102specification.
b63b07a8 103.TP 15
7714864e
RL
104.B \-\-unicode[=yes|no]]
105Specify the default character type for the application.
106If unspecified, the system default will be preferred, but any type may
107match in the absence of a stricter specification.
108.TP 15
109.B \-\-debug[=yes|no]]
110Specify whether to create a debug or release build for the application.
111If unspecified, the system default (release) will be preferred, but any
112type may match in the absence of a stricter specification.
113Debug builds should never be uploaded to Debian, but are very useful
114for finding certain common failure idioms. You are encouraged to use
115them during active development of applications. They are not binary
116compatible with the release libraries.
117.TP 15
118.B \-\-static[=yes|no]]
119Specify whether to statically or dynamically link wxWidgets libraries
120into your application. If unspecified, the system default (dynamic)
121will be preferred, but any type may match in the absence of a stricter
122specification. Static linking is mainly useful still for cross ports
123not natively supported by Debian, and can be hazardous in conjunction
eedbe999
RL
124with the gtk toolkits. Note that static libraries are no longer supplied
125in the wxGTK packages any more.
7714864e
RL
126
127.SS Compiler options
128These options generate output required to build an application using
129a particular wxWidgets configuration.
130
131.TP 15
132.B \-\-libs
133Output link flags required for a \fIwxWidgets\fP application.
6181913e
RL
134.TP 15
135.B \-\-cppflags
7714864e 136Output parameters required by the C preprocessor.
6181913e 137.TP 15
e4c4c1c6 138.B \-\-cflags
7714864e 139Output parameters required by the C compiler.
6181913e
RL
140.TP 15
141.B \-\-cxxflags
7714864e 142Output parameters required by the C++ compiler.
b63b07a8 143.TP 15
e4c4c1c6
RL
144.B \-\-cc
145Output the name of the C compiler \fB$(CC)\fP.
b63b07a8 146.TP 15
e4c4c1c6
RL
147.B \-\-cxx
148Output the name of the C++ compiler \fB$(CXX)\fP.
b63b07a8 149.TP 15
e4c4c1c6 150.B \-\-ld
7714864e 151Output the linker command.
e4c4c1c6 152
7714864e
RL
153.SH COPYRIGHT
154This manpage was written by Ron Lee <ron@debian.org> for the Debian GNU/Linux
155distribution of wxWindows. It may be freely distributed by anyone who finds
156it useful.
e4c4c1c6 157