]> git.saurik.com Git - wxWidgets.git/blob - debian/wx-config.1
yet another variation on the same theme: wxMAKE_ART_ID_FROM_STR
[wxWidgets.git] / debian / wx-config.1
1 .TH wx-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows 2.2"
2 .SH NAME
3 wx-config - generate compile time info for wxWindows
4 .SH SYNOPSIS
5 .nh
6 .B wxbase-config
7 .br
8 .B wxgtk-config
9 .HP
10 .B wx-config
11 [\-\-version] [\-\-libs] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12 [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP]
13 .SH DESCRIPTION
14 \fIwx-config\fP is a tool to determine the compiler and linker
15 flags required for applications using the \fIwxWindows\fP toolkit(s).
16 .PP
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)
24 mechanism.
25 .hy
26 .SH OPTIONS
27 .l
28 \fIwx-config\fP accepts the following options:
29 .TP 8
30 .B \-\-version
31 What to
32 .B ALWAYS
33 include in a bug report.
34 .br
35 ( But of course you already knew that ... )
36 .TP 8
37 .B \-\-libs
38 Generate linker flags for a \fIwxWindows\fP program.
39 .TP 8
40 .B \-\-cflags
41 Generate compiler flags for the same.
42 .TP 8
43 .B \-\-cc
44 Output the name of the C compiler \fB$(CC)\fP.
45 .TP 8
46 .B \-\-cxx
47 Output the name of the C++ compiler \fB$(CXX)\fP.
48 .TP 8
49 .B \-\-ld
50 Output the Linker command \fB$(LD)\fP.
51 .TP 8
52 .B \-\-prefix=PREFIX
53 If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
54 was built with when computing the output for the \-\-cflags and
55 \-\-libs options. This option is also used for the exec prefix
56 if \-\-exec\-prefix was not specified. This option must be specified
57 before any \-\-libs or \-\-cflags options.
58 .br
59 .nh
60 .HP
61 (Translation: this is the root path to the \fIwxWindows\fP headers -- [Ron])
62 .hy
63 .TP 8
64 .B \-\-exec\-prefix=PREFIX
65 If specified, use PREFIX instead of the installation exec prefix that
66 \fIwxWindows\fP was built with when computing the output for the \-\-cflags
67 and \-\-libs options. This option must be specified before any
68 \-\-libs or \-\-cflags options.
69 .br
70 .nh
71 .HP
72 (Translation: this is the root path to the \fIwxWindows\fP library -- [Ron])
73 .hy
74 .SH SEE ALSO
75 .BR gtk-config (1),
76 .BR update-alternatives (8)
77 .SH COPYRIGHT
78 This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage
79 by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
80 wxGTK. It was then updated to include new options and otherwise bastardised
81 generally by Ron Lee <ron@debian.org>
82
83 The original gtk-config manpage copyright:
84
85 Copyright \(co 1995 Spencer Kimball and Peter Mattis
86
87 Permission to use, copy, modify, and distribute this software and its
88 documentation for any purpose and without fee is hereby granted,
89 provided that the above copyright notice appear in all copies and that
90 both that copyright notice and this permission notice appear in
91 supporting documentation.