1MAGICKCORE-CONFIG(1) BSD General Commands Manual MAGICKCORE-CONFIG(1)
2
4 MagickCore-config — get information about the installed version of
5 ImageMagick
6
8 MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags]
9 [--libs] [--prefix] [--version]
10
12 The MagickCore-config utility prints the compiler and linker flags
13 required to compile and link programs that use the ImageMagick Core
14 Application Programmer Interface.
15
16 The following options are available:
17
18 --cppflags, --cflags, --cxxflags
19 Print the compiler flags that are needed to find the
20 ImageMagick(1) C include files and defines to ensure that the
21 ImageMagick data structures match between your program and
22 the installed libraries.
23
24 --prefix, --exec-prefix
25 Print the directory under which target specific binaries and
26 executables are installed.
27
28 --ldflags, --libs
29 Print the linker flags that are needed to link with the
30 ImageMagick(1) library.
31
32 --version Print the version of the ImageMagick(1) distribution to stan‐
33 dard output.
34
35 --coder-path
36 Print the path where the ImageMagick(1) coder modules are
37 installed.
38
39 --filter-path
40 Print the path where the ImageMagick(1) filter modules are
41 installed.
42
44 To print the version of the installed distribution of ImageMagick use:
45
46 MagickCore-config --version
47
48 To compile a program that calls the ImageMagick(1) Application Programmer
49 Interface, use:
50
51 cc `MagickCore-config --cppflags --ldflags` program.c
52
54 ImageMagick(1)
55
57 ImageMagick is licensed with a derived Apache license 2.0. See
58 http://imagemagick.org/script/license.php for more details.
59
61 The ImageMagick suite and this manual page where written by Cristy,
62 ImageMagick Studio LLC <development-team@imagemagick.org>.
63
64BSD July 13, 2015 BSD