Files
wxWidgets/debian/wx-config.1
Ron Lee 68f58d781a Updated config.{guess,sub}
Backported fixes from Robert Millan for HURD/K*BSD.
Fix broken linking of wxgtk_gl.
Fix uninitialised var warning in wxrcedit/preview.cpp
Updates for 2.4.2.5 .debs.
Update wx-config.1
Fixed makefile.unx in opengl samples to use --gl-lib
Removed #! from newevent.py


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@28560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 13:58:38 +00:00

102 lines
3.3 KiB
Groff

.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows"
.SH NAME
wx-config \- generate compile time requirements for wxWindows applications
.SH SYNOPSIS
.nh
.B wxbase\-config
.br
.B wxgtk\-config
.HP
.B wx\-config
[\-\-version]
[\-\-libs] [\-\-gl\-libs]
[\-\-cppflags] [\-\-cflags] [\-\-cxxflags]
[\-\-cc] [\-\-cxx] [\-\-ld]
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
.SH DESCRIPTION
\fIwx\-config\fP is a tool to determine the compiler and linker
flags required for applications using the \fIwxWindows\fP toolkit(s).
.PP
\fIwx\-config\fP is normally a symlink to one of the port\-specific
versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
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
.BR update\-alternatives (8)
mechanism.
.hy
.SH OPTIONS
.l
\fIwx\-config\fP accepts the following options:
.TP 15
.B \-\-version
What to
.B ALWAYS
include in a bug report.
.TP 15
.B \-\-libs
Output linker parameters for a \fIwxWindows\fP application.
.TP 15
.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
.B \-\-cflags
Output parameters required by the C compiler for wxWindows applications.
.TP 15
.B \-\-cxxflags
Output parameters required by the C++ compiler for wxWindows applications.
.TP 15
.B \-\-cc
Output the name of the C compiler \fB$(CC)\fP.
.TP 15
.B \-\-cxx
Output the name of the C++ compiler \fB$(CXX)\fP.
.TP 15
.B \-\-ld
Output the linker command \fB$(LD)\fP.
.TP 15
.B \-\-prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
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.
.br
.nh
.HP
(Translation: this is the root path to the \fIwxWindows\fP headers \-\- [Ron])
.hy
.TP 15
.B \-\-exec\-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that
\fIwxWindows\fP was built with when computing the output for the \-\-cflags
and \-\-libs options. This option must be specified before any
\-\-libs or \-\-cflags options.
.br
.nh
.HP
(Translation: this is the root path to the \fIwxWindows\fP library \-\- [Ron])
.hy
.SH SEE ALSO
.BR gtk\-config (1),
.BR update\-alternatives (8)
.SH COPYRIGHT
This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
wxGTK. It was subsequently updated to include new options and otherwise
bastardised generally by Ron Lee <ron@debian.org>
The original gtk\-config manpage copyright:
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.