]>
Commit | Line | Data |
---|---|---|
b63b07a8 | 1 | .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets" |
e4c4c1c6 | 2 | .SH NAME |
b63b07a8 | 3 | wx-config \- generate compile time requirements for wxWidgets applications |
e4c4c1c6 RL |
4 | .SH SYNOPSIS |
5 | .nh | |
0ecfbbea | 6 | .B wxbase\-config |
07eb77a6 | 7 | .br |
0ecfbbea | 8 | .B wxgtk\-config |
e4c4c1c6 | 9 | .HP |
0ecfbbea | 10 | .B wx\-config |
b63b07a8 RL |
11 | [\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld] |
12 | [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename] | |
e4c4c1c6 | 13 | .SH DESCRIPTION |
0ecfbbea | 14 | \fIwx\-config\fP is a tool to determine the compiler and linker |
b63b07a8 | 15 | flags required for applications using the \fIwxWidgets\fP toolkit(s). |
e4c4c1c6 | 16 | .PP |
0ecfbbea RL |
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 | |
07eb77a6 RL |
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 | |
0ecfbbea | 23 | .BR update\-alternatives (8) |
07eb77a6 RL |
24 | mechanism. |
25 | .hy | |
e4c4c1c6 RL |
26 | .SH OPTIONS |
27 | .l | |
0ecfbbea | 28 | \fIwx\-config\fP accepts the following options: |
b63b07a8 | 29 | .TP 15 |
e4c4c1c6 | 30 | .B \-\-version |
07eb77a6 RL |
31 | What to |
32 | .B ALWAYS | |
33 | include in a bug report. | |
b63b07a8 RL |
34 | .TP 15 |
35 | .B \-\-libs[=LIBS] | |
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. | |
40 | .TP 15 | |
e4c4c1c6 | 41 | .B \-\-cflags |
07eb77a6 | 42 | Generate compiler flags for the same. |
b63b07a8 | 43 | .TP 15 |
e4c4c1c6 RL |
44 | .B \-\-cc |
45 | Output the name of the C compiler \fB$(CC)\fP. | |
b63b07a8 | 46 | .TP 15 |
e4c4c1c6 RL |
47 | .B \-\-cxx |
48 | Output the name of the C++ compiler \fB$(CXX)\fP. | |
b63b07a8 | 49 | .TP 15 |
e4c4c1c6 RL |
50 | .B \-\-ld |
51 | Output the Linker command \fB$(LD)\fP. | |
b63b07a8 | 52 | .TP 15 |
e4c4c1c6 | 53 | .B \-\-prefix=PREFIX |
b63b07a8 | 54 | If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP |
e4c4c1c6 RL |
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. | |
e0a4aa8a | 59 | .br |
07eb77a6 RL |
60 | .nh |
61 | .HP | |
b63b07a8 | 62 | (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron]) |
07eb77a6 | 63 | .hy |
b63b07a8 | 64 | .TP 15 |
e4c4c1c6 RL |
65 | .B \-\-exec\-prefix=PREFIX |
66 | If specified, use PREFIX instead of the installation exec prefix that | |
b63b07a8 | 67 | \fIwxWidgets\fP was built with when computing the output for the \-\-cflags |
e4c4c1c6 RL |
68 | and \-\-libs options. This option must be specified before any |
69 | \-\-libs or \-\-cflags options. | |
e0a4aa8a | 70 | .br |
07eb77a6 RL |
71 | .nh |
72 | .HP | |
b63b07a8 | 73 | (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron]) |
07eb77a6 | 74 | .hy |
b63b07a8 RL |
75 | .TP 15 |
76 | .B \-\-release | |
77 | Output the wxWidgets release number. | |
78 | .TP 15 | |
79 | .B \-\-basename | |
80 | Output the base name of the wxWidgets libraries. | |
e4c4c1c6 | 81 | .SH SEE ALSO |
0ecfbbea RL |
82 | .BR gtk\-config (1), |
83 | .BR update\-alternatives (8) | |
e4c4c1c6 | 84 | .SH COPYRIGHT |
0ecfbbea | 85 | This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage |
e4c4c1c6 | 86 | by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of |
b63b07a8 RL |
87 | wxGTK. It was subsequently updated to include new options and otherwise |
88 | bastardised generally by Ron Lee <ron@debian.org> | |
e4c4c1c6 | 89 | |
0ecfbbea | 90 | The original gtk\-config manpage copyright: |
e4c4c1c6 RL |
91 | |
92 | Copyright \(co 1995 Spencer Kimball and Peter Mattis | |
93 | ||
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. |