]> git.saurik.com Git - wxWidgets.git/blob - debian/wx-config.1
install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
[wxWidgets.git] / debian / wx-config.1
1 .TH wx\-config 1 "15 Feb 2000" "Debian GNU/Linux" "wxWidgets"
2 .SH NAME
3 wx-config \- generate compile time requirements for wxWidgets applications
4 .SH SYNOPSIS
5 .nh
6 .B wxbase\-config
7 .br
8 .B wxgtk\-config
9 .HP
10 .B wx\-config
11 [\-\-version] [\-\-libs\fI[=LIBS]\fP] [\-\-cflags] [\-\-cc] [\-\-cxx] [\-\-ld]
12 [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-release] [\-\-basename]
13 .SH DESCRIPTION
14 \fIwx\-config\fP is a tool to determine the compiler and linker
15 flags required for applications using the \fIwxWidgets\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 15
30 .B \-\-version
31 What to
32 .B ALWAYS
33 include in a bug report.
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
41 .B \-\-cflags
42 Generate compiler flags for the same.
43 .TP 15
44 .B \-\-cc
45 Output the name of the C compiler \fB$(CC)\fP.
46 .TP 15
47 .B \-\-cxx
48 Output the name of the C++ compiler \fB$(CXX)\fP.
49 .TP 15
50 .B \-\-ld
51 Output the Linker command \fB$(LD)\fP.
52 .TP 15
53 .B \-\-prefix=PREFIX
54 If specified, use PREFIX instead of the installation prefix that \fIwxWidgets\fP
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.
59 .br
60 .nh
61 .HP
62 (Translation: this is the root path to the \fIwxWidgets\fP headers \-\- [Ron])
63 .hy
64 .TP 15
65 .B \-\-exec\-prefix=PREFIX
66 If specified, use PREFIX instead of the installation exec prefix that
67 \fIwxWidgets\fP was built with when computing the output for the \-\-cflags
68 and \-\-libs options. This option must be specified before any
69 \-\-libs or \-\-cflags options.
70 .br
71 .nh
72 .HP
73 (Translation: this is the root path to the \fIwxWidgets\fP library \-\- [Ron])
74 .hy
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.
81 .SH SEE ALSO
82 .BR gtk\-config (1),
83 .BR update\-alternatives (8)
84 .SH COPYRIGHT
85 This manpage was copied whole\-heartedly from the \fBgtk\-config\fP(1) manpage
86 by Brian Bassett <brianb@debian.org> for the Debian GNU/Linux distribution of
87 wxGTK. It was subsequently updated to include new options and otherwise
88 bastardised generally by Ron Lee <ron@debian.org>
89
90 The original gtk\-config manpage copyright:
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.