]>
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 |
6181913e RL |
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] | |
e4c4c1c6 | 17 | .SH DESCRIPTION |
0ecfbbea | 18 | \fIwx\-config\fP is a tool to determine the compiler and linker |
b63b07a8 | 19 | flags required for applications using the \fIwxWidgets\fP toolkit(s). |
e4c4c1c6 | 20 | .PP |
0ecfbbea RL |
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 | |
07eb77a6 RL |
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 | |
0ecfbbea | 27 | .BR update\-alternatives (8) |
07eb77a6 RL |
28 | mechanism. |
29 | .hy | |
e4c4c1c6 RL |
30 | .SH OPTIONS |
31 | .l | |
0ecfbbea | 32 | \fIwx\-config\fP accepts the following options: |
b63b07a8 | 33 | .TP 15 |
e4c4c1c6 | 34 | .B \-\-version |
07eb77a6 RL |
35 | What to |
36 | .B ALWAYS | |
37 | include in a bug report. | |
b63b07a8 RL |
38 | .TP 15 |
39 | .B \-\-libs[=LIBS] | |
6181913e | 40 | Generate linker flags for a \fIwxWidgets\fP application. |
b63b07a8 RL |
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 | |
6181913e RL |
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 | |
e4c4c1c6 | 51 | .B \-\-cflags |
6181913e RL |
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. | |
b63b07a8 | 56 | .TP 15 |
e4c4c1c6 RL |
57 | .B \-\-cc |
58 | Output the name of the C compiler \fB$(CC)\fP. | |
b63b07a8 | 59 | .TP 15 |
e4c4c1c6 RL |
60 | .B \-\-cxx |
61 | Output the name of the C++ compiler \fB$(CXX)\fP. | |
b63b07a8 | 62 | .TP 15 |
e4c4c1c6 | 63 | .B \-\-ld |
6181913e | 64 | Output the linker command \fB$(LD)\fP. |
b63b07a8 | 65 | .TP 15 |
e4c4c1c6 | 66 | .B \-\-prefix=PREFIX |
b63b07a8 | 67 | If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP |
e4c4c1c6 RL |
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. | |
e0a4aa8a | 72 | .br |
07eb77a6 RL |
73 | .nh |
74 | .HP | |
b63b07a8 | 75 | (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron]) |
07eb77a6 | 76 | .hy |
b63b07a8 | 77 | .TP 15 |
e4c4c1c6 RL |
78 | .B \-\-exec\-prefix=PREFIX |
79 | If specified, use PREFIX instead of the installation exec prefix that | |
b63b07a8 | 80 | \fIwxWidgets\fP was built with when computing the output for the \-\-cflags |
e4c4c1c6 RL |
81 | and \-\-libs options. This option must be specified before any |
82 | \-\-libs or \-\-cflags options. | |
e0a4aa8a | 83 | .br |
07eb77a6 RL |
84 | .nh |
85 | .HP | |
b63b07a8 | 86 | (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron]) |
07eb77a6 | 87 | .hy |
b63b07a8 RL |
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. | |
e4c4c1c6 | 94 | .SH SEE ALSO |
0ecfbbea RL |
95 | .BR gtk\-config (1), |
96 | .BR update\-alternatives (8) | |
e4c4c1c6 | 97 | .SH COPYRIGHT |
0ecfbbea | 98 | This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage |
e4c4c1c6 | 99 | by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of |
b63b07a8 RL |
100 | wxGTK. It was subsequently updated to include new options and otherwise |
101 | bastardised generally by Ron Lee <ron@debian.org> | |
e4c4c1c6 | 102 | |
0ecfbbea | 103 | The original gtk\-config manpage copyright: |
e4c4c1c6 RL |
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. |