]>
Commit | Line | Data |
---|---|---|
f538864d | 1 | .TH wxWindows 1 "15 Feb 2000" "wxGTK 2.2" |
e4c4c1c6 RL |
2 | .SH NAME |
3 | wx-config - script to get information about the installed version of wxGTK | |
4 | .SH SYNOPSIS | |
5 | .nh | |
6 | .HP | |
7 | .B wx-config | |
8 | [\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld] | |
9 | [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] | |
10 | .hy | |
11 | .SH DESCRIPTION | |
12 | .PP | |
13 | \fIwx-config\fP is a tool used to determine the compiler and | |
14 | linker flags that should be used to compile and link programs | |
15 | that use \fIwxGTK\fP. | |
16 | . | |
17 | .SH OPTIONS | |
18 | .l | |
19 | \fIwx-config\fP accepts the following options: | |
20 | .TP 8 | |
21 | .B \-\-version | |
22 | Report the currently installed version of \fIwxGTK\fP. | |
23 | .TP 8 | |
24 | .B \-\-libs | |
25 | Output the linker flags necessary to link a \fIwxGTK\fP program. | |
26 | .TP 8 | |
27 | .B \-\-cflags | |
28 | Output the compiler flags necessary to compile a \fIwxGTK\fP program. | |
29 | .TP 8 | |
30 | .B \-\-cc | |
31 | Output the name of the C compiler \fB$(CC)\fP. | |
32 | .TP 8 | |
33 | .B \-\-cxx | |
34 | Output the name of the C++ compiler \fB$(CXX)\fP. | |
35 | .TP 8 | |
36 | .B \-\-ld | |
37 | Output the Linker command \fB$(LD)\fP. | |
38 | .TP 8 | |
39 | .B \-\-prefix=PREFIX | |
40 | If specified, use PREFIX instead of the installation prefix that \fIwxGTK\fP | |
41 | was built with when computing the output for the \-\-cflags and | |
42 | \-\-libs options. This option is also used for the exec prefix | |
43 | if \-\-exec\-prefix was not specified. This option must be specified | |
44 | before any \-\-libs or \-\-cflags options. | |
e0a4aa8a RL |
45 | .br |
46 | (Translation: this is the root path to the \fIwxGTK\fP headers -- [Ron]) | |
e4c4c1c6 RL |
47 | .TP 8 |
48 | .B \-\-exec\-prefix=PREFIX | |
49 | If specified, use PREFIX instead of the installation exec prefix that | |
50 | \fIwxGTK\fP was built with when computing the output for the \-\-cflags | |
51 | and \-\-libs options. This option must be specified before any | |
52 | \-\-libs or \-\-cflags options. | |
e0a4aa8a RL |
53 | .br |
54 | (Translation: this is the root path to the \fIwxGTK\fP library -- [Ron]) | |
e4c4c1c6 RL |
55 | .SH SEE ALSO |
56 | .BR gtk-config (1) | |
57 | .SH COPYRIGHT | |
58 | This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage | |
59 | by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of | |
60 | wxGTK. It was then updated to include new options and otherwise kicked about | |
61 | generally by Ron Lee <ron@debian.org> | |
62 | ||
63 | The original gtk-config manpage copyright: | |
64 | ||
65 | Copyright \(co 1995 Spencer Kimball and Peter Mattis | |
66 | ||
67 | Permission to use, copy, modify, and distribute this software and its | |
68 | documentation for any purpose and without fee is hereby granted, | |
69 | provided that the above copyright notice appear in all copies and that | |
70 | both that copyright notice and this permission notice appear in | |
71 | supporting documentation. |