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