1 .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
3 wx-config \- generate compile time requirements for wxWidgets applications
11 [\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12 [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
14 \fIwx\-config\fP is a tool to determine the compiler and linker
15 flags required for applications using the \fIwxWidgets\fP toolkit(s).
17 \fIwx\-config\fP is normally a symlink to one of the port\-specific
18 versions like \fIwxbase\-config\fP or \fIwxgtk\-config\fP which
19 designates the default port to compile applications with.
20 You can override this default either by using one of the specific
21 versions directly, or by changing which version the symlink points to.
22 On Debian systems this can be done using the
23 .BR update\-alternatives (8)
28 \fIwx\-config\fP accepts the following options:
33 include in a bug report.
36 Generate linker flags for a \fIwxWidgets\fP program.
37 The optional argument is a comma separated list of the wxWidgets libraries
38 to link with. You may include contrib libs here too. If no argument is
39 given it will assume you wish to link all 'core' libraries.
42 Generate compiler flags for the same.
45 Output the name of the C compiler \fB$(CC)\fP.
48 Output the name of the C++ compiler \fB$(CXX)\fP.
51 Output the Linker command \fB$(LD)\fP.
54 If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
55 was built with when computing the output for the \-\-cflags and
56 \-\-libs options. This option is also used for the exec prefix
57 if \-\-exec\-prefix was not specified. This option must be specified
58 before any \-\-libs or \-\-cflags options.
62 (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
65 .B \-\-exec\-prefix=PREFIX
66 If specified, use PREFIX instead of the installation exec prefix that
67 \fIwxWidgets\fP was built with when computing the output for the \-\-cflags
68 and \-\-libs options. This option must be specified before any
69 \-\-libs or \-\-cflags options.
73 (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
77 Output the wxWidgets release number.
80 Output the base name of the wxWidgets libraries.
83 .BR update\-alternatives (8)
85 This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
86 by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
87 wxGTK. It was subsequently updated to include new options and otherwise
88 bastardised generally by Ron Lee <ron@debian.org>
90 The original gtk\-config manpage copyright:
92 Copyright \(co 1995 Spencer Kimball and Peter Mattis
94 Permission to use, copy, modify, and distribute this software and its
95 documentation for any purpose and without fee is hereby granted,
96 provided that the above copyright notice appear in all copies and that
97 both that copyright notice and this permission notice appear in
98 supporting documentation.