]> git.saurik.com Git - wxWidgets.git/blame_incremental - debian/wx-config.1
new VC++ workspace file for wxBase
[wxWidgets.git] / debian / wx-config.1
... / ...
CommitLineData
1.TH wx-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWindows 2.2"
2.SH NAME
3wx-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
15flags 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
18versions like \fIwxbase-config\fP or \fIwxgtk-config\fP which
19designates the default port to compile applications with.
20You can override this default either by using one of the specific
21versions directly, or by changing which version the symlink points to.
22On Debian systems this can be done using the
23.BR update-alternatives (8)
24mechanism.
25.hy
26.SH OPTIONS
27.l
28\fIwx-config\fP accepts the following options:
29.TP 8
30.B \-\-version
31What to
32.B ALWAYS
33include in a bug report.
34.br
35( But of course you already knew that ... )
36.TP 8
37.B \-\-libs
38Generate linker flags for a \fIwxWindows\fP program.
39.TP 8
40.B \-\-cflags
41Generate compiler flags for the same.
42.TP 8
43.B \-\-cc
44Output the name of the C compiler \fB$(CC)\fP.
45.TP 8
46.B \-\-cxx
47Output the name of the C++ compiler \fB$(CXX)\fP.
48.TP 8
49.B \-\-ld
50Output the Linker command \fB$(LD)\fP.
51.TP 8
52.B \-\-prefix=PREFIX
53If specified, use PREFIX instead of the installation prefix that \fIwxWindows\fP
54was built with when computing the output for the \-\-cflags and
55\-\-libs options. This option is also used for the exec prefix
56if \-\-exec\-prefix was not specified. This option must be specified
57before 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
65If specified, use PREFIX instead of the installation exec prefix that
66\fIwxWindows\fP was built with when computing the output for the \-\-cflags
67and \-\-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
78This manpage was copied whole-heartedly from the \fBgtk-config\fP(1) manpage
79by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
80wxGTK. It was then updated to include new options and otherwise bastardised
81generally by Ron Lee <ron@debian.org>
82
83The original gtk-config manpage copyright:
84
85Copyright \(co 1995 Spencer Kimball and Peter Mattis
86
87Permission to use, copy, modify, and distribute this software and its
88documentation for any purpose and without fee is hereby granted,
89provided that the above copyright notice appear in all copies and that
90both that copyright notice and this permission notice appear in
91supporting documentation.