]> git.saurik.com Git - wxWidgets.git/blame_incremental - debian/wx-config.1
For OS/2 PM builds, check for type SPBCDATA in system headers.
[wxWidgets.git] / debian / wx-config.1
... / ...
CommitLineData
1.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
2.SH NAME
3wx-config \- generate compile time requirements for wxWidgets applications
4.SH SYNOPSIS
5.nh
6.B wxbase\-config
7.br
8.B wxgtk\-config
9.HP
10.B wx\-config
11[\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
13.SH DESCRIPTION
14\fIwx\-config\fP is a tool to determine the compiler and linker
15flags required for applications using the \fIwxWidgets\fP toolkit(s).
16.PP
17\fIwx\-config\fP is normally a symlink to one of the port\-specific
18versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
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
23.BR update\-alternatives (8)
24mechanism.
25.hy
26.SH OPTIONS
27.l
28\fIwx\-config\fP accepts the following options:
29.TP 15
30.B \-\-version
31What to
32.B ALWAYS
33include in a bug report.
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
41.B \-\-cflags
42Generate compiler flags for the same.
43.TP 15
44.B \-\-cc
45Output the name of the C compiler \fB$(CC)\fP.
46.TP 15
47.B \-\-cxx
48Output the name of the C++ compiler \fB$(CXX)\fP.
49.TP 15
50.B \-\-ld
51Output the Linker command \fB$(LD)\fP.
52.TP 15
53.B \-\-prefix=PREFIX
54If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
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.
59.br
60.nh
61.HP
62(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
63.hy
64.TP 15
65.B \-\-exec\-prefix=PREFIX
66If specified, use PREFIX instead of the installation exec prefix that
67\fIwxWidgets\fP was built with when computing the output for the \-\-cflags
68and \-\-libs options. This option must be specified before any
69\-\-libs or \-\-cflags options.
70.br
71.nh
72.HP
73(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
74.hy
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.
81.SH SEE ALSO
82.BR gtk\-config (1),
83.BR update\-alternatives (8)
84.SH COPYRIGHT
85This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
86by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
87wxGTK. It was subsequently updated to include new options and otherwise
88bastardised generally by Ron Lee <ron@debian.org>
89
90The original gtk\-config manpage copyright:
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.