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