2004-03-05 12:40:38 -05:00
|
|
|
.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH NAME
|
2004-03-05 12:40:38 -05:00
|
|
|
wx-config \- generate compile time requirements for wxWidgets applications
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.nh
|
2003-01-03 17:51:42 -05:00
|
|
|
.B wxbase\-config
|
2000-02-24 07:20:22 -05:00
|
|
|
.br
|
2003-01-03 17:51:42 -05:00
|
|
|
.B wxgtk\-config
|
2000-02-16 15:47:08 -05:00
|
|
|
.HP
|
2003-01-03 17:51:42 -05:00
|
|
|
.B wx\-config
|
2004-03-05 12:40:38 -05:00
|
|
|
[\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
|
|
|
|
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH DESCRIPTION
|
2003-01-03 17:51:42 -05:00
|
|
|
\fIwx\-config\fP is a tool to determine the compiler and linker
|
2004-03-05 12:40:38 -05:00
|
|
|
flags required for applications using the \fIwxWidgets\fP toolkit(s).
|
2000-02-16 15:47:08 -05:00
|
|
|
.PP
|
2003-01-03 17:51:42 -05:00
|
|
|
\fIwx\-config\fP is normally a symlink to one of the port\-specific
|
|
|
|
versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
|
2000-02-24 07:20:22 -05:00
|
|
|
designates the default port to compile applications with.
|
|
|
|
You can override this default either by using one of the specific
|
|
|
|
versions directly, or by changing which version the symlink points to.
|
|
|
|
On Debian systems this can be done using the
|
2003-01-03 17:51:42 -05:00
|
|
|
.BR update\-alternatives (8)
|
2000-02-24 07:20:22 -05:00
|
|
|
mechanism.
|
|
|
|
.hy
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH OPTIONS
|
|
|
|
.l
|
2003-01-03 17:51:42 -05:00
|
|
|
\fIwx\-config\fP accepts the following options:
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-version
|
2000-02-24 07:20:22 -05:00
|
|
|
What to
|
|
|
|
.B ALWAYS
|
|
|
|
include in a bug report.
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
|
|
|
.B \-\-libs[=LIBS]
|
|
|
|
Generate linker flags for a \fIwxWidgets\fP program.
|
|
|
|
The optional argument is a comma separated list of the wxWidgets libraries
|
|
|
|
to link with. You may include contrib libs here too. If no argument is
|
|
|
|
given it will assume you wish to link all 'core' libraries.
|
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-cflags
|
2000-02-24 07:20:22 -05:00
|
|
|
Generate compiler flags for the same.
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-cc
|
|
|
|
Output the name of the C compiler \fB$(CC)\fP.
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-cxx
|
|
|
|
Output the name of the C++ compiler \fB$(CXX)\fP.
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-ld
|
|
|
|
Output the Linker command \fB$(LD)\fP.
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-prefix=PREFIX
|
2004-03-05 12:40:38 -05:00
|
|
|
If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
|
2000-02-16 15:47:08 -05:00
|
|
|
was built with when computing the output for the \-\-cflags and
|
|
|
|
\-\-libs options. This option is also used for the exec prefix
|
|
|
|
if \-\-exec\-prefix was not specified. This option must be specified
|
|
|
|
before any \-\-libs or \-\-cflags options.
|
2000-02-21 18:02:25 -05:00
|
|
|
.br
|
2000-02-24 07:20:22 -05:00
|
|
|
.nh
|
|
|
|
.HP
|
2004-03-05 12:40:38 -05:00
|
|
|
(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
|
2000-02-24 07:20:22 -05:00
|
|
|
.hy
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
2000-02-16 15:47:08 -05:00
|
|
|
.B \-\-exec\-prefix=PREFIX
|
|
|
|
If specified, use PREFIX instead of the installation exec prefix that
|
2004-03-05 12:40:38 -05:00
|
|
|
\fIwxWidgets\fP was built with when computing the output for the \-\-cflags
|
2000-02-16 15:47:08 -05:00
|
|
|
and \-\-libs options. This option must be specified before any
|
|
|
|
\-\-libs or \-\-cflags options.
|
2000-02-21 18:02:25 -05:00
|
|
|
.br
|
2000-02-24 07:20:22 -05:00
|
|
|
.nh
|
|
|
|
.HP
|
2004-03-05 12:40:38 -05:00
|
|
|
(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
|
2000-02-24 07:20:22 -05:00
|
|
|
.hy
|
2004-03-05 12:40:38 -05:00
|
|
|
.TP 15
|
|
|
|
.B \-\-release
|
|
|
|
Output the wxWidgets release number.
|
|
|
|
.TP 15
|
|
|
|
.B \-\-basename
|
|
|
|
Output the base name of the wxWidgets libraries.
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH SEE ALSO
|
2003-01-03 17:51:42 -05:00
|
|
|
.BR gtk\-config (1),
|
|
|
|
.BR update\-alternatives (8)
|
2000-02-16 15:47:08 -05:00
|
|
|
.SH COPYRIGHT
|
2003-01-03 17:51:42 -05:00
|
|
|
This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
|
2000-02-16 15:47:08 -05:00
|
|
|
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
|
2004-03-05 12:40:38 -05:00
|
|
|
wxGTK. It was subsequently updated to include new options and otherwise
|
|
|
|
bastardised generally by Ron Lee <ron@debian.org>
|
2000-02-16 15:47:08 -05:00
|
|
|
|
2003-01-03 17:51:42 -05:00
|
|
|
The original gtk\-config manpage copyright:
|
2000-02-16 15:47:08 -05:00
|
|
|
|
|
|
|
Copyright \(co 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
|
|
|
Permission to use, copy, modify, and distribute this software and its
|
|
|
|
documentation for any purpose and without fee is hereby granted,
|
|
|
|
provided that the above copyright notice appear in all copies and that
|
|
|
|
both that copyright notice and this permission notice appear in
|
|
|
|
supporting documentation.
|