cppunit-config.1 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .TH cppunit 1 "September 2001"
  2. .SH NAME
  3. cppunit-config - script to get information about the installed version of cppunit
  4. .SH SYNOPSIS
  5. .B cppunit-config
  6. [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags]
  7. .SH DESCRIPTION
  8. .PP
  9. \fIcppunit-config\fP is a tool that is used to configure to determine
  10. the compiler and linker flags that should be used to compile and link
  11. programs that use \fIcppunit\fP. It is also used internally to the .m4
  12. macros for GNU autoconf that are included with \fIcppunit\fP.
  13. .
  14. .SH OPTIONS
  15. .l
  16. \fIcppunit-config\fP accepts the following options:
  17. .TP 8
  18. .B \-\-version
  19. Print the currently installed version of \fIcppunit\fP on the standard
  20. output.
  21. .TP 8
  22. .B \-\-libs
  23. Print the linker flags that are necessary to link a \fIcppunit\fP
  24. program.
  25. .TP 8
  26. .B \-\-cflags
  27. Print the compiler flags that are necessary to compile a \fIcppunit\fP
  28. program.
  29. .TP 8
  30. .B \-\-prefix
  31. Print the prefix with which \fIcppunit\fP was compiled.
  32. .TP 8
  33. .B \-\-prefix=PREFIX
  34. If specified, use PREFIX instead of the installation prefix that
  35. \fIcppunit\fP was built with when computing the output for the
  36. \-\-cflags and \-\-libs options. This option is also used for the exec
  37. prefix if \-\-exec\-prefix was not specified. This option must be
  38. specified before any \-\-libs or \-\-cflags options.
  39. .TP 8
  40. .B \-\-exec\-prefix
  41. Print the exec\-prefix with which \fIcppunit\fP was compiled.
  42. .TP 8
  43. .B \-\-exec\-prefix=PREFIX
  44. If specified, use PREFIX instead of the installation exec prefix that
  45. \fIcppunit\fP was built with when computing the output for the
  46. \-\-cflags and \-\-libs options. This option must be specified before
  47. any \-\-libs or \-\-cflags options.
  48. .SH COPYRIGHT
  49. cppunit Copyright \(co 1996-2000 by Michael Feathers <[email protected]>
  50. .PP
  51. This program is free software; you can redistribute it and/or modify
  52. it under the terms of the GNU General Public License as published by
  53. the Free Software Foundation; either version 2 of the License, or (at
  54. your option) any later version.
  55. .PP
  56. This program is distributed in the hope that it will be useful, but
  57. WITHOUT ANY WARRANTY; without even the implied warranty of
  58. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  59. General Public License for more details.
  60. .PP
  61. You should have received a copy of the GNU General Public License
  62. along with this program; if not, write to the Free Software
  63. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  64. .SH AUTHOR
  65. This manpage is an almost word-for-word copy of the gtk-config
  66. manpage, written by Owen Taylor. It was modified by E. Sommerlade
  67. <[email protected]>.