1cppunit(1) General Commands Manual cppunit(1)
2
3
4
6 cppunit-config - script to get information about the installed version
7 of cppunit
8
10 cppunit-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
11 [--libs] [--cflags]
12
14 cppunit-config is a tool that is used to configure to determine the
15 compiler and linker flags that should be used to compile and link pro‐
16 grams that use cppunit. It is also used internally to the .m4 macros
17 for GNU autoconf that are included with cppunit.
18
20 cppunit-config accepts the following options:
21
22 --version
23 Print the currently installed version of cppunit on the stan‐
24 dard output.
25
26 --libs Print the linker flags that are necessary to link a cppunit
27 program.
28
29 --cflags
30 Print the compiler flags that are necessary to compile a
31 cppunit program.
32
33 --prefix
34 Print the prefix with which cppunit was compiled.
35
36 --prefix=PREFIX
37 If specified, use PREFIX instead of the installation prefix
38 that cppunit was built with when computing the output for the
39 --cflags and --libs options. This option is also used for the
40 exec prefix if --exec-prefix was not specified. This option
41 must be specified before any --libs or --cflags options.
42
43 --exec-prefix
44 Print the exec-prefix with which cppunit was compiled.
45
46 --exec-prefix=PREFIX
47 If specified, use PREFIX instead of the installation exec pre‐
48 fix that cppunit was built with when computing the output for
49 the --cflags and --libs options. This option must be specified
50 before any --libs or --cflags options.
51
53 cppunit Copyright © 1996-2000 by Michael Feathers <mfeathers@objectmen‐
54 tor.com>
55
56 This program is free software; you can redistribute it and/or modify it
57 under the terms of the GNU General Public License as published by the
58 Free Software Foundation; either version 2 of the License, or (at your
59 option) any later version.
60
61 This program is distributed in the hope that it will be useful, but
62 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
63 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
64 Public License for more details.
65
66 You should have received a copy of the GNU General Public License along
67 with this program; if not, write to the Free Software Foundation, Inc.,
68 675 Mass Ave, Cambridge, MA 02139, USA.
69
71 This manpage is an almost word-for-word copy of the gtk-config manpage,
72 written by Owen Taylor. It was modified by E. Sommerlade <eric@som‐
73 merla.de>.
74
75
76
77 September 2001 cppunit(1)