]> git.saurik.com Git - wxWidgets.git/blob - debian/wx-config.1
added wxTopLevelWindow::RequestUserAttention(); documented it and implemented it...
[wxWidgets.git] / debian / wx-config.1
1 .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
2 .SH NAME
3 wx-config \- generate compile time requirements for wxWidgets applications
4 .SH SYNOPSIS
5 .nh
6 .B wxbase\-config
7 .br
8 .B wxgtk\-config
9 .HP
10 .B wx\-config
11 [\-\-version]
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]
17 .SH DESCRIPTION
18 \fIwx\-config\fP is a tool to determine the compiler and linker
19 flags required for applications using the \fIwxWidgets\fP toolkit(s).
20 .PP
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)
28 mechanism.
29 .hy
30 .SH OPTIONS
31 .l
32 \fIwx\-config\fP accepts the following options:
33 .TP 15
34 .B \-\-version
35 What to
36 .B ALWAYS
37 include in a bug report.
38 .TP 15
39 .B \-\-libs[=LIBS]
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.
44 .TP 15
45 .B \-\-gl-libs
46 Output linker parameters for a \fIwxWindows\fP application that uses the glcanvas.
47 .TP 15
48 .B \-\-cppflags
49 Output parameters required by the C preprocessor for wxWindows applications.
50 .TP 15
51 .B \-\-cflags
52 Output parameters required by the C compiler for wxWindows applications.
53 .TP 15
54 .B \-\-cxxflags
55 Output parameters required by the C++ compiler for wxWindows applications.
56 .TP 15
57 .B \-\-cc
58 Output the name of the C compiler \fB$(CC)\fP.
59 .TP 15
60 .B \-\-cxx
61 Output the name of the C++ compiler \fB$(CXX)\fP.
62 .TP 15
63 .B \-\-ld
64 Output the linker command \fB$(LD)\fP.
65 .TP 15
66 .B \-\-prefix=PREFIX
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.
72 .br
73 .nh
74 .HP
75 (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
76 .hy
77 .TP 15
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.
83 .br
84 .nh
85 .HP
86 (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
87 .hy
88 .TP 15
89 .B \-\-release
90 Output the wxWidgets release number.
91 .TP 15
92 .B \-\-basename
93 Output the base name of the wxWidgets libraries.
94 .SH SEE ALSO
95 .BR gtk\-config (1),
96 .BR update\-alternatives (8)
97 .SH COPYRIGHT
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>
102
103 The original gtk\-config manpage copyright:
104
105 Copyright \(co 1995 Spencer Kimball and Peter Mattis
106
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.