1Magick++-Config(1) General Commands Manual Magick++-Config(1)
2
3
4
6 Magick++-config - get information about the installed version of Mag‐
7 ick++
8
10 Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags]
11 [--libs] [--prefix] [--version]
12
14 Magick++-config prints the compiler and linker flags required to com‐
15 pile and link programs that use the ImageMagick C++ Application Pro‐
16 grammer Interface (known as Magick++ ).
17
19 To print the version of the installed distribution of Magick++, use:
20
21 Magick++-config --version
22
23 To compile a program that calls the ImageMagick C++ Application Pro‐
24 grammer Interface, use:
25
26 c++ `Magick++-config --cxxflags --cppflags --ldflags --libs` program.cpp
27
28
30 --cppflags
31 Print the preprocessor flags that are needed to find the
32 ImageMagick C and C++ include files and defines to ensures that
33 the ImageMagick data structures match between your program and
34 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 ImageMagick distribution to standard
55 output.
56
58 Copyright (C) 2000 ImageMagick Studio LLC, a non-profit organization
59 dedicated to making software imaging solutions freely available.
60
61 Permission is hereby granted, free of charge, to any person obtaining a
62 copy of this software and associated documentation files ("ImageMag‐
63 ick"), to deal in ImageMagick without restriction, including without
64 limitation the rights to use, copy, modify, merge, publish, distribute,
65 sublicense, and/or sell copies of ImageMagick, and to permit persons to
66 whom the ImageMagick is furnished to do so, subject to the following
67 conditions:
68
69 The above copyright notice and this permission notice shall be included
70 in all copies or substantial portions of ImageMagick.
71
72 The software is provided "as is", without warranty of any kind, express
73 or implied, including but not limited to the warranties of mer‐
74 chantability, fitness for a particular purpose and noninfringement. In
75 no event shall ImageMagick Studio be liable for any claim, damages or
76 other liability, whether in an action of contract, tort or otherwise,
77 arising from, out of or in connection with ImageMagick or the use or
78 other dealings in ImageMagick.
79
80 Except as contained in this notice, the name of the ImageMagick Studio
81 shall not be used in advertising or otherwise to promote the sale, use
82 or other dealings in ImageMagick without prior written authorization
83 from the ImageMagick Studio.
84
86 Bob Friesenhahn, ImageMagick Studio
87
88
89
90
91ImageMagick 2 May 2002 Magick++-Config(1)