]> git.saurik.com Git - wxWidgets.git/blame - debian/wx-config.1
Added equality operators
[wxWidgets.git] / debian / wx-config.1
CommitLineData
b63b07a8 1.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
e4c4c1c6 2.SH NAME
b63b07a8 3wx-config \- generate compile time requirements for wxWidgets applications
e4c4c1c6
RL
4.SH SYNOPSIS
5.nh
0ecfbbea 6.B wxbase\-config
07eb77a6 7.br
0ecfbbea 8.B wxgtk\-config
e4c4c1c6 9.HP
0ecfbbea 10.B wx\-config
b63b07a8
RL
11[\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
e4c4c1c6 13.SH DESCRIPTION
0ecfbbea 14\fIwx\-config\fP is a tool to determine the compiler and linker
b63b07a8 15flags required for applications using the \fIwxWidgets\fP toolkit(s).
e4c4c1c6 16.PP
0ecfbbea
RL
17\fIwx\-config\fP is normally a symlink to one of the port\-specific
18versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
07eb77a6
RL
19designates the default port to compile applications with.
20You can override this default either by using one of the specific
21versions directly, or by changing which version the symlink points to.
22On Debian systems this can be done using the
0ecfbbea 23.BR update\-alternatives (8)
07eb77a6
RL
24mechanism.
25.hy
e4c4c1c6
RL
26.SH OPTIONS
27.l
0ecfbbea 28\fIwx\-config\fP accepts the following options:
b63b07a8 29.TP 15
e4c4c1c6 30.B \-\-version
07eb77a6
RL
31What to
32.B ALWAYS
33include in a bug report.
b63b07a8
RL
34.TP 15
35.B \-\-libs[=LIBS]
36Generate linker flags for a \fIwxWidgets\fP program.
37The optional argument is a comma separated list of the wxWidgets libraries
38to link with. You may include contrib libs here too. If no argument is
39given it will assume you wish to link all 'core' libraries.
40.TP 15
e4c4c1c6 41.B \-\-cflags
07eb77a6 42Generate compiler flags for the same.
b63b07a8 43.TP 15
e4c4c1c6
RL
44.B \-\-cc
45Output the name of the C compiler \fB$(CC)\fP.
b63b07a8 46.TP 15
e4c4c1c6
RL
47.B \-\-cxx
48Output the name of the C++ compiler \fB$(CXX)\fP.
b63b07a8 49.TP 15
e4c4c1c6
RL
50.B \-\-ld
51Output the Linker command \fB$(LD)\fP.
b63b07a8 52.TP 15
e4c4c1c6 53.B \-\-prefix=PREFIX
b63b07a8 54If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
e4c4c1c6
RL
55was built with when computing the output for the \-\-cflags and
56\-\-libs options. This option is also used for the exec prefix
57if \-\-exec\-prefix was not specified. This option must be specified
58before any \-\-libs or \-\-cflags options.
e0a4aa8a 59.br
07eb77a6
RL
60.nh
61.HP
b63b07a8 62(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
07eb77a6 63.hy
b63b07a8 64.TP 15
e4c4c1c6
RL
65.B \-\-exec\-prefix=PREFIX
66If specified, use PREFIX instead of the installation exec prefix that
b63b07a8 67\fIwxWidgets\fP was built with when computing the output for the \-\-cflags
e4c4c1c6
RL
68and \-\-libs options. This option must be specified before any
69\-\-libs or \-\-cflags options.
e0a4aa8a 70.br
07eb77a6
RL
71.nh
72.HP
b63b07a8 73(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
07eb77a6 74.hy
b63b07a8
RL
75.TP 15
76.B \-\-release
77Output the wxWidgets release number.
78.TP 15
79.B \-\-basename
80Output the base name of the wxWidgets libraries.
e4c4c1c6 81.SH SEE ALSO
0ecfbbea
RL
82.BR gtk\-config (1),
83.BR update\-alternatives (8)
e4c4c1c6 84.SH COPYRIGHT
0ecfbbea 85This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
e4c4c1c6 86by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
b63b07a8
RL
87wxGTK. It was subsequently updated to include new options and otherwise
88bastardised generally by Ron Lee <ron@debian.org>
e4c4c1c6 89
0ecfbbea 90The original gtk\-config manpage copyright:
e4c4c1c6
RL
91
92Copyright \(co 1995 Spencer Kimball and Peter Mattis
93
94Permission to use, copy, modify, and distribute this software and its
95documentation for any purpose and without fee is hereby granted,
96provided that the above copyright notice appear in all copies and that
97both that copyright notice and this permission notice appear in
98supporting documentation.