• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.Dd July 13, 2015
2.Dt MAGICKCORE-CONFIG 1
3.Os
4.Sh NAME
5.Nm MagickCore-config
6.Nd get information about the installed version of ImageMagick
7.Sh SYNOPSIS
8.Nm MagickCore-config
9.Op Fl -cflags
10.Op Fl -cppflags
11.Op Fl -exec-prefix
12.Op Fl -ldflags
13.Op Fl -libs
14.Op Fl -prefix
15.Op Fl -version
16.Sh DESCRIPTION
17The
18.Nm MagickCore-config
19utility prints the compiler and linker flags required
20to compile and link programs that use the
21.Nm ImageMagick "Core"
22Application Programmer Interface.
23.Pp
24The following options are available:
25.Bl -tag -width Fl
26.It Fl -cppflags , -cflags , -cxxflags
27Print the compiler flags that are needed to find the
28.Xr ImageMagick 1
29C include files and defines to ensure that the ImageMagick data structures match between
30your program and the installed libraries.
31.It Fl -prefix , -exec-prefix
32Print the directory under which target specific binaries and executables are installed.
33.It Fl -ldflags , -libs
34Print the linker flags that are needed to link with the
35.Xr ImageMagick 1
36library.
37.It Fl -version
38Print the version of the
39.Xr ImageMagick 1
40distribution to standard output.
41.It Fl -coder-path
42Print the path where the
43.Xr ImageMagick 1
44coder modules are installed.
45.It Fl -filter-path
46Print the path where the
47.Xr ImageMagick 1
48filter modules are installed.
49.El
50.Sh EXAMPLES
51To print the version of the installed distribution of
52.Nm ImageMagick
53use:
54
55.Dl MagickCore-config --version
56.sp
57To compile a program that calls the
58.Xr ImageMagick 1
59Application Programmer Interface, use:
60
61.Dl cc `MagickCore-config --cppflags --ldflags` program.c
62.Sh SEE ALSO
63.Xr ImageMagick 1
64.Sh LICENSE
65.Nm ImageMagick
66is licensed with a derived Apache license 2.0. See
67http://imagemagick.org/script/license.php for more details.
68.Sh AUTHORS
69.An -nosplit
70The
71.Nm ImageMagick
72suite and this manual page where written by
73.An Cristy, ImageMagick Studio LLC <development-team@imagemagick.org>.
74