| 1 |
.ad l |
| 2 |
.nh |
| 3 |
.TH Magick++-Config 1 "2 May 2002" "ImageMagick" |
| 4 |
.SH NAME |
| 5 |
Magick++-config \- get information about the installed version of Magick++ |
| 6 |
.SH SYNOPSIS |
| 7 |
.B Magick++-config |
| 8 |
.B [--cppflags] |
| 9 |
.B [--cxxflags] |
| 10 |
.B [--exec-prefix] |
| 11 |
.B [--ldflags] |
| 12 |
.B [--libs] |
| 13 |
.B [--prefix] |
| 14 |
.B [--version] |
| 15 |
.SH DESCRIPTION |
| 16 |
.B Magick++-config |
| 17 |
prints the compiler and linker flags required to compile and link programs |
| 18 |
that use the |
| 19 |
.BR ImageMagick |
| 20 |
C++ Application Programmer Interface (known as |
| 21 |
.BR Magick++ |
| 22 |
). |
| 23 |
.SH EXAMPLES |
| 24 |
To print the version of the installed distribution of |
| 25 |
.BR Magick++ , |
| 26 |
use: |
| 27 |
|
| 28 |
.nf |
| 29 |
Magick++-config \-\-version |
| 30 |
.fi |
| 31 |
|
| 32 |
To compile a program that calls the |
| 33 |
.BR ImageMagick |
| 34 |
C++ Application Programmer Interface, use: |
| 35 |
|
| 36 |
.nf |
| 37 |
c++ `Magick++-config \-\-cxxflags \-\-cppflags \-\-ldflags \-\-libs` program.cpp |
| 38 |
.fi |
| 39 |
|
| 40 |
.SH OPTIONS |
| 41 |
.TP |
| 42 |
.B \-\-cppflags |
| 43 |
Print the preprocessor flags that are needed to find the |
| 44 |
.B ImageMagick |
| 45 |
C and C++ include files and defines to ensures that the ImageMagick data structures match between |
| 46 |
your program and the installed libraries. |
| 47 |
.TP |
| 48 |
.B \-\-cxxflags |
| 49 |
Print the compiler flags that were used to compile |
| 50 |
.BR libMagick++ . |
| 51 |
.TP |
| 52 |
.B \-\-exec-prefix |
| 53 |
Print the directory under which target specific binaries and executables are installed. |
| 54 |
.TP |
| 55 |
.B \-\-ldflags |
| 56 |
Print the linker flags that are needed to link with the |
| 57 |
.B libMagick++ |
| 58 |
library. |
| 59 |
.TP |
| 60 |
.B \-\-libs |
| 61 |
Print the linker flags that are needed to link a program with |
| 62 |
.BR libMagick++ . |
| 63 |
.TP |
| 64 |
.B \-\-prefix |
| 65 |
Print the directory under which the package is installed. |
| 66 |
.TP |
| 67 |
.B \-\-version |
| 68 |
Print the version of the |
| 69 |
.B ImageMagick |
| 70 |
distribution to standard output. |
| 71 |
.SH COPYRIGHT |
| 72 |
Copyright (C) 2000 ImageMagick Studio LLC, a non-profit organization dedicated |
| 73 |
to making software imaging solutions freely available. |
| 74 |
|
| 75 |
Permission is hereby granted, free of charge, to any person obtaining a |
| 76 |
copy of this software and associated documentation files ("ImageMagick"), |
| 77 |
to deal in ImageMagick without restriction, including without limitation |
| 78 |
the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 79 |
and/or sell copies of ImageMagick, and to permit persons to whom the |
| 80 |
ImageMagick is furnished to do so, subject to the following conditions: |
| 81 |
|
| 82 |
The above copyright notice and this permission notice shall be included in |
| 83 |
all copies or substantial portions of ImageMagick. |
| 84 |
|
| 85 |
The software is provided "as is", without warranty of any kind, express or |
| 86 |
implied, including but not limited to the warranties of merchantability, |
| 87 |
fitness for a particular purpose and noninfringement. In no event shall |
| 88 |
ImageMagick Studio be liable for any claim, damages or other liability, |
| 89 |
whether in an action of contract, tort or otherwise, arising from, out of |
| 90 |
or in connection with ImageMagick or the use or other dealings in |
| 91 |
ImageMagick. |
| 92 |
|
| 93 |
Except as contained in this notice, the name of the ImageMagick Studio |
| 94 |
shall not be used in advertising or otherwise to promote the sale, use or |
| 95 |
other dealings in ImageMagick without prior written authorization from the |
| 96 |
ImageMagick Studio. |
| 97 |
.SH AUTHORS |
| 98 |
Bob Friesenhahn, ImageMagick Studio |
| 99 |
|