2004-03-05 17:40:38 +00:00
|
|
|
.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
|
2000-02-16 20:47:08 +00:00
|
|
|
.SH NAME
|
2004-03-05 17:40:38 +00:00
|
|
|
wx-config \- generate compile time requirements for wxWidgets applications
|
2000-02-16 20:47:08 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.nh
|
2003-01-03 22:51:42 +00:00
|
|
|
.B wxbase\-config
|
2000-02-24 12:20:22 +00:00
|
|
|
.br
|
2003-01-03 22:51:42 +00:00
|
|
|
.B wxgtk\-config
|
2000-02-16 20:47:08 +00:00
|
|
|
.HP
|
2003-01-03 22:51:42 +00:00
|
|
|
.B wx\-config
|
2004-09-06 04:51:11 +00:00
|
|
|
[\-\-version]
|
|
|
|
[\-\-libs\fI[=LIBS]\fP] [\-\-gl\-libs]
|
|
|
|
[\-\-cppflags] [\-\-cflags] [\-\-cxxflags]
|
|
|
|
[\-\-cc] [\-\-cxx] [\-\-ld]
|
|
|
|
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
|
|
|
|
[\-\-release] [\-\-basename]
|
2000-02-16 20:47:08 +00:00
|
|
|
.SH DESCRIPTION
|
2003-01-03 22:51:42 +00:00
|
|
|
\fIwx\-config\fP is a tool to determine the compiler and linker
|
2004-03-05 17:40:38 +00:00
|
|
|
flags required for applications using the \fIwxWidgets\fP toolkit(s).
|
2000-02-16 20:47:08 +00:00
|
|
|
.PP
|
2003-01-03 22:51:42 +00: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 12:20:22 +00: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 22:51:42 +00:00
|
|
|
.BR update\-alternatives (8)
|
2000-02-24 12:20:22 +00:00
|
|
|
mechanism.
|
|
|
|
.hy
|
2000-02-16 20:47:08 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.l
|
2003-01-03 22:51:42 +00:00
|
|
|
\fIwx\-config\fP accepts the following options:
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-version
|
2000-02-24 12:20:22 +00:00
|
|
|
What to
|
|
|
|
.B ALWAYS
|
|
|
|
include in a bug report.
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
|
|
|
.B \-\-libs[=LIBS]
|
2004-09-06 04:51:11 +00:00
|
|
|
Generate linker flags for a \fIwxWidgets\fP application.
|
2004-03-05 17:40:38 +00:00
|
|
|
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
|
2004-09-06 04:51:11 +00:00
|
|
|
.B \-\-gl-libs
|
|
|
|
Output linker parameters for a \fIwxWindows\fP application that uses the glcanvas.
|
|
|
|
.TP 15
|
|
|
|
.B \-\-cppflags
|
|
|
|
Output parameters required by the C preprocessor for wxWindows applications.
|
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-cflags
|
2004-09-06 04:51:11 +00:00
|
|
|
Output parameters required by the C compiler for wxWindows applications.
|
|
|
|
.TP 15
|
|
|
|
.B \-\-cxxflags
|
|
|
|
Output parameters required by the C++ compiler for wxWindows applications.
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-cc
|
|
|
|
Output the name of the C compiler \fB$(CC)\fP.
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-cxx
|
|
|
|
Output the name of the C++ compiler \fB$(CXX)\fP.
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-ld
|
2004-09-06 04:51:11 +00:00
|
|
|
Output the linker command \fB$(LD)\fP.
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-prefix=PREFIX
|
2004-03-05 17:40:38 +00:00
|
|
|
If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
|
2000-02-16 20:47:08 +00: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 23:02:25 +00:00
|
|
|
.br
|
2000-02-24 12:20:22 +00:00
|
|
|
.nh
|
|
|
|
.HP
|
2004-03-05 17:40:38 +00:00
|
|
|
(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
|
2000-02-24 12:20:22 +00:00
|
|
|
.hy
|
2004-03-05 17:40:38 +00:00
|
|
|
.TP 15
|
2000-02-16 20:47:08 +00:00
|
|
|
.B \-\-exec\-prefix=PREFIX
|
|
|
|
If specified, use PREFIX instead of the installation exec prefix that
|
2004-03-05 17:40:38 +00:00
|
|
|
\fIwxWidgets\fP was built with when computing the output for the \-\-cflags
|
2000-02-16 20:47:08 +00:00
|
|
|
and \-\-libs options. This option must be specified before any
|
|
|
|
\-\-libs or \-\-cflags options.
|
2000-02-21 23:02:25 +00:00
|
|
|
.br
|
2000-02-24 12:20:22 +00:00
|
|
|
.nh
|
|
|
|
.HP
|
2004-03-05 17:40:38 +00:00
|
|
|
(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
|
2000-02-24 12:20:22 +00:00
|
|
|
.hy
|
2004-03-05 17:40:38 +00: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 20:47:08 +00:00
|
|
|
.SH SEE ALSO
|
2003-01-03 22:51:42 +00:00
|
|
|
.BR gtk\-config (1),
|
|
|
|
.BR update\-alternatives (8)
|
2000-02-16 20:47:08 +00:00
|
|
|
.SH COPYRIGHT
|
2003-01-03 22:51:42 +00:00
|
|
|
This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
|
2000-02-16 20:47:08 +00:00
|
|
|
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
|
2004-03-05 17:40:38 +00:00
|
|
|
wxGTK. It was subsequently updated to include new options and otherwise
|
|
|
|
bastardised generally by Ron Lee <ron@debian.org>
|
2000-02-16 20:47:08 +00:00
|
|
|
|
2003-01-03 22:51:42 +00:00
|
|
|
The original gtk\-config manpage copyright:
|
2000-02-16 20:47:08 +00: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.
|