blob: 34b8652dcd85dea9d09689d68b02dea6b5602c87 [file] [log] [blame]
.ad l
.nh
.TH MagickWand-Config 1 "2 May 2002" "Wand"
.SH NAME
MagickWand-config \- get information about the installed version of the Magick Wand
.SH SYNOPSIS
.B MagickWand-config
.B [--cflags]
.B [--cppflags]
.B [--exec-prefix]
.B [--ldflags]
.B [--libs]
.B [--prefix]
.B [--version]
.SH DESCRIPTION
.B MagickWand-config
prints the compiler and linker flags required to compile and link programs
that use the
.BR Wand
Application Programmer Interface.
.SH EXAMPLES
To print the version of the installed distribution of
.BR Wand ,
use:
.nf
MagickWand-config \-\-version
.fi
To compile a program that calls the
.BR Wand
Application Programmer Interface, use:
.nf
cc `MagickWand-config \-\-cflags \-\-cppflags \-\-ldflags \-\-libs` program.c
.fi
.SH OPTIONS
.TP
.B \-\-cflags
Print the compiler flags that were used to compile
.BR libWand .
.TP
.B \-\-cppflags
Print the preprocessor flags that are needed to find the
.B Wand
C include files and defines to ensure that the Wand data structures match between
your program and the installed libraries.
.TP
.B \-\-exec-prefix
Print the directory under which target specific binaries and executables are installed.
.TP
.B \-\-ldflags
Print the linker flags that are needed to link with the
.B Wand
library.
.TP
.B \-\-libs
Print the linker flags that are needed to link a program with
.BR libWand .
.TP
.B \-\-version
Print the version of the
.B Wand
distribution to standard output.
.SH COPYRIGHT
See http://www.imagemagick.org/script/license.php
.SH AUTHORS
Cristy, ImageMagick Studio LLC