1GraphicsMagick-Config(1) General Commands Manual GraphicsMagick-Config(1)
2
3
4
6 GraphicsMagickWand-config - get information about the installed version
7 of GraphicsMagick
8
10 GraphicsMagickWand-config [--cflags] [--cppflags] [--exec-prefix]
11 [--ldflags] [--libs] [--prefix] [--version]
12
14 GraphicsMagickWand-config prints the compiler and linker flags required
15 to compile and link programs that use the GraphicsMagick Wand Applica‐
16 tion Programmer Interface.
17
19 To print the version of the installed distribution of GraphicsMagick,
20 use:
21
22 GraphicsMagickWand-config --version
23
24 To compile a program that calls the GraphicsMagick Wand Application
25 Programmer Interface, use:
26
27 cc `GraphicsMagickWand-config --cflags --cppflags --ldflags --libs` program.c
28
29
31 --cflags
32 Print the compiler flags that were used to compile libGraphics‐
33 Magick.
34
35 --cppflags
36 Print the preprocessor flags that are needed to find the Graph‐
37 icsMagick C include files and defines to ensure that the Graph‐
38 icsMagick data structures match between your program and the
39 installed libraries.
40
41 --exec-prefix
42 Print the directory under which target specific binaries and
43 executables are installed.
44
45 --ldflags
46 Print the linker flags that are needed to link with the Graphic‐
47 sMagickWand library.
48
49 --libs Print the linker flags that are needed to link a program with
50 libMagick.
51
52 --version
53 Print the version of the GraphicsMagick distribution to standard
54 output.
55
57 Copyright (C) 2003 GraphicsMagick Group
58
59 Copyright (C) 2002 ImageMagick Studio
60
62 Bob Friesenhahn
63
64
65
66GraphicsMagick 15 June 2003 GraphicsMagick-Config(1)