1 .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
3 wx-config \- generate compile time requirements for wxWidgets applications
12 [\-\-libs\fI[=LIBS]\fP] [\-\-gl\-libs]
13 [\-\-cppflags] [\-\-cflags] [\-\-cxxflags]
14 [\-\-cc] [\-\-cxx] [\-\-ld]
15 [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
16 [\-\-release] [\-\-basename]
18 \fIwx\-config\fP is a tool to determine the compiler and linker
19 flags required for applications using the \fIwxWidgets\fP toolkit(s).
21 \fIwx\-config\fP is normally a symlink to one of the port\-specific
22 versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
23 designates the default port to compile applications with.
24 You can override this default either by using one of the specific
25 versions directly, or by changing which version the symlink points to.
26 On Debian systems this can be done using the
27 .BR update\-alternatives (8)
32 \fIwx\-config\fP accepts the following options:
37 include in a bug report.
40 Generate linker flags for a \fIwxWidgets\fP application.
41 The optional argument is a comma separated list of the wxWidgets libraries
42 to link with. You may include contrib libs here too. If no argument is
43 given it will assume you wish to link all 'core' libraries.
46 Output linker parameters for a \fIwxWindows\fP application that uses the glcanvas.
49 Output parameters required by the C preprocessor for wxWindows applications.
52 Output parameters required by the C compiler for wxWindows applications.
55 Output parameters required by the C++ compiler for wxWindows applications.
58 Output the name of the C compiler \fB$(CC)\fP.
61 Output the name of the C++ compiler \fB$(CXX)\fP.
64 Output the linker command \fB$(LD)\fP.
67 If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
68 was built with when computing the output for the \-\-cflags and
69 \-\-libs options. This option is also used for the exec prefix
70 if \-\-exec\-prefix was not specified. This option must be specified
71 before any \-\-libs or \-\-cflags options.
75 (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
78 .B \-\-exec\-prefix=PREFIX
79 If specified, use PREFIX instead of the installation exec prefix that
80 \fIwxWidgets\fP was built with when computing the output for the \-\-cflags
81 and \-\-libs options. This option must be specified before any
82 \-\-libs or \-\-cflags options.
86 (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
90 Output the wxWidgets release number.
93 Output the base name of the wxWidgets libraries.
96 .BR update\-alternatives (8)
98 This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
99 by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
100 wxGTK. It was subsequently updated to include new options and otherwise
101 bastardised generally by Ron Lee <ron@debian.org>
103 The original gtk\-config manpage copyright:
105 Copyright \(co 1995 Spencer Kimball and Peter Mattis
107 Permission to use, copy, modify, and distribute this software and its
108 documentation for any purpose and without fee is hereby granted,
109 provided that the above copyright notice appear in all copies and that
110 both that copyright notice and this permission notice appear in
111 supporting documentation.