1Wand-Config(1) General Commands Manual Wand-Config(1)
2
3
4
6 Wand-config - get information about the installed version of the Magick
7 Wand
8
10 Wand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags]
11 [--libs] [--prefix] [--version]
12
14 Wand-config prints the compiler and linker flags required to compile
15 and link programs that use the Wand Application Programmer Interface.
16
18 To print the version of the installed distribution of Wand, use:
19
20 Wand-config --version
21
22 To compile a program that calls the Wand Application Programmer Inter‐
23 face, use:
24
25 cc `Wand-config --cflags --cppflags --ldflags --libs` program.c
26
27
29 --cflags
30 Print the compiler flags that were used to compile libWand.
31
32 --cppflags
33 Print the preprocessor flags that are needed to find the Wand C
34 include files and defines to ensure that the Wand data struc‐
35 tures match between your program and the installed libraries.
36
37 --exec-prefix
38 Print the directory under which target specific binaries and
39 executables are installed.
40
41 --ldflags
42 Print the linker flags that are needed to link with the Wand
43 library.
44
45 --libs Print the linker flags that are needed to link a program with
46 libWand.
47
48 --version
49 Print the version of the Wand distribution to standard output.
50
52 See http://www.imagemagick.org/script/license.php
53
55 John Cristy, ImageMagick Studio LLC
56
57
58
59Wand 2 May 2002 Wand-Config(1)