X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a4aa8a213de4748d95c6528a44474ac42cea08..589e20d03c8fd08520ae279f5e5ebcc6efde321b:/debian/wx-config.1 diff --git a/debian/wx-config.1 b/debian/wx-config.1 index 86f8925d89..141374bf30 100644 --- a/debian/wx-config.1 +++ b/debian/wx-config.1 @@ -1,66 +1,106 @@ -.TH wxWindows 1 "15 Feb 2000" "wxGTK 2.2" +.TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets" .SH NAME -wx-config - script to get information about the installed version of wxGTK +wx-config \- generate compile time requirements for wxWidgets applications .SH SYNOPSIS .nh +.B wxbase\-config +.br +.B wxgtk\-config .HP -.B wx-config -[\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld] +.B wx\-config +[\-\-version] +[\-\-libs\fI[=LIBS]\fP] [\-\-gl\-libs] +[\-\-cppflags] [\-\-cflags] [\-\-cxxflags] +[\-\-cc] [\-\-cxx] [\-\-ld] [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] -.hy +[\-\-release] [\-\-basename] .SH DESCRIPTION +\fIwx\-config\fP is a tool to determine the compiler and linker +flags required for applications using the \fIwxWidgets\fP toolkit(s). .PP -\fIwx-config\fP is a tool used to determine the compiler and -linker flags that should be used to compile and link programs -that use \fIwxGTK\fP. -. +\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 8 +\fIwx\-config\fP accepts the following options: +.TP 15 .B \-\-version -Report the currently installed version of \fIwxGTK\fP. -.TP 8 -.B \-\-libs -Output the linker flags necessary to link a \fIwxGTK\fP program. -.TP 8 +What to +.B ALWAYS +include in a bug report. +.TP 15 +.B \-\-libs[=LIBS] +Generate linker flags for a \fIwxWidgets\fP application. +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 +.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 the compiler flags necessary to compile a \fIwxGTK\fP program. -.TP 8 +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 8 +.TP 15 .B \-\-cxx Output the name of the C++ compiler \fB$(CXX)\fP. -.TP 8 +.TP 15 .B \-\-ld -Output the Linker command \fB$(LD)\fP. -.TP 8 +Output the linker command \fB$(LD)\fP. +.TP 15 .B \-\-prefix=PREFIX -If specified, use PREFIX instead of the installation prefix that \fIwxGTK\fP +If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\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 -(Translation: this is the root path to the \fIwxGTK\fP headers -- [Ron]) -.TP 8 +.nh +.HP +(Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron]) +.hy +.TP 15 .B \-\-exec\-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that -\fIwxGTK\fP was built with when computing the output for the \-\-cflags +\fIwxWidgets\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 -(Translation: this is the root path to the \fIwxGTK\fP library -- [Ron]) +.nh +.HP +(Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron]) +.hy +.TP 15 +.B \-\-release +Output the wxWidgets release number. +.TP 15 +.B \-\-basename +Output the base name of the wxWidgets libraries. .SH SEE ALSO -.BR gtk-config (1) +.BR gtk\-config (1), +.BR update\-alternatives (8) .SH COPYRIGHT -This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage +This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage by Brian Bassett for the Debian GNU/Linux distribution of -wxGTK. It was then updated to include new options and otherwise kicked about -generally by Ron Lee +wxGTK. It was subsequently updated to include new options and otherwise +bastardised generally by Ron Lee -The original gtk-config manpage copyright: +The original gtk\-config manpage copyright: Copyright \(co 1995 Spencer Kimball and Peter Mattis