| 1 |
.ad l |
| 2 |
.nh |
| 3 |
.TH MagickWand-Config 1 "2 May 2002" "Wand" |
| 4 |
.SH NAME |
| 5 |
MagickWand-config \- get information about the installed version of the Magick Wand |
| 6 |
.SH SYNOPSIS |
| 7 |
.B MagickWand-config |
| 8 |
.B [--cflags] |
| 9 |
.B [--cppflags] |
| 10 |
.B [--exec-prefix] |
| 11 |
.B [--ldflags] |
| 12 |
.B [--libs] |
| 13 |
.B [--prefix] |
| 14 |
.B [--version] |
| 15 |
.SH DESCRIPTION |
| 16 |
.B MagickWand-config |
| 17 |
prints the compiler and linker flags required to compile and link programs |
| 18 |
that use the |
| 19 |
.BR Wand |
| 20 |
Application Programmer Interface. |
| 21 |
.SH EXAMPLES |
| 22 |
To print the version of the installed distribution of |
| 23 |
.BR Wand , |
| 24 |
use: |
| 25 |
|
| 26 |
.nf |
| 27 |
MagickWand-config \-\-version |
| 28 |
.fi |
| 29 |
|
| 30 |
To compile a program that calls the |
| 31 |
.BR Wand |
| 32 |
Application Programmer Interface, use: |
| 33 |
|
| 34 |
.nf |
| 35 |
cc `MagickWand-config \-\-cflags \-\-cppflags \-\-ldflags \-\-libs` program.c |
| 36 |
.fi |
| 37 |
|
| 38 |
.SH OPTIONS |
| 39 |
.TP |
| 40 |
.B \-\-cflags |
| 41 |
Print the compiler flags that were used to compile |
| 42 |
.BR libWand . |
| 43 |
.TP |
| 44 |
.B \-\-cppflags |
| 45 |
Print the preprocessor flags that are needed to find the |
| 46 |
.B Wand |
| 47 |
C include files and defines to ensure that the Wand data structures match between |
| 48 |
your program and the installed libraries. |
| 49 |
.TP |
| 50 |
.B \-\-exec-prefix |
| 51 |
Print the directory under which target specific binaries and executables are installed. |
| 52 |
.TP |
| 53 |
.B \-\-ldflags |
| 54 |
Print the linker flags that are needed to link with the |
| 55 |
.B Wand |
| 56 |
library. |
| 57 |
.TP |
| 58 |
.B \-\-libs |
| 59 |
Print the linker flags that are needed to link a program with |
| 60 |
.BR libWand . |
| 61 |
.TP |
| 62 |
.B \-\-version |
| 63 |
Print the version of the |
| 64 |
.B Wand |
| 65 |
distribution to standard output. |
| 66 |
.SH COPYRIGHT |
| 67 |
See https://imagemagick.org/license/ |
| 68 |
.SH AUTHORS |
| 69 |
Cristy, ImageMagick Studio LLC |