blob: 34b8652dcd85dea9d09689d68b02dea6b5602c87 [file] [log] [blame]
cristy8e3989e2012-09-07 16:11:05 +00001.ad l
2.nh
3.TH MagickWand-Config 1 "2 May 2002" "Wand"
4.SH NAME
5MagickWand-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
17prints the compiler and linker flags required to compile and link programs
18that use the
19.BR Wand
20Application Programmer Interface.
21.SH EXAMPLES
22To print the version of the installed distribution of
23.BR Wand ,
24use:
25
26.nf
27 MagickWand-config \-\-version
28.fi
29
30To compile a program that calls the
31.BR Wand
32Application 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
41Print the compiler flags that were used to compile
42.BR libWand .
43.TP
44.B \-\-cppflags
45Print the preprocessor flags that are needed to find the
46.B Wand
47C include files and defines to ensure that the Wand data structures match between
48your program and the installed libraries.
49.TP
50.B \-\-exec-prefix
51Print the directory under which target specific binaries and executables are installed.
52.TP
53.B \-\-ldflags
54Print the linker flags that are needed to link with the
55.B Wand
56library.
57.TP
58.B \-\-libs
59Print the linker flags that are needed to link a program with
60.BR libWand .
61.TP
62.B \-\-version
63Print the version of the
64.B Wand
65distribution to standard output.
66.SH COPYRIGHT
67See http://www.imagemagick.org/script/license.php
68.SH AUTHORS
cristyeac380d2013-12-01 14:52:56 +000069Cristy, ImageMagick Studio LLC