blob: f58e9576416519c627b12a71abb35a0e1056a19e [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001.ad l
2.nh
3.TH MagickCore-Config 1 "2 May 2002" "ImageMagick"
4.SH NAME
5MagickCore-config \- get information about the installed version of ImageMagick
6.SH SYNOPSIS
7.B MagickCore-config
8.B [--cflags]
9.B [--cppflags]
10.B [--exec-prefix]
11.B [--ldflags]
12.B [--libs]
13.B [--prefix]
14.B [--version]
15.SH DESCRIPTION
16.B MagickCore-config
17prints the compiler and linker flags required to compile and link programs
18that use the
19.BR ImageMagick
20Application Programmer Interface.
21.SH EXAMPLES
22To print the version of the installed distribution of
23.BR ImageMagick ,
24use:
25
26.nf
27 MagickCore-config \-\-version
28.fi
29
30To compile a program that calls the
31.BR ImageMagick
32Application Programmer Interface, use:
33
34.nf
35 cc `MagickCore-config \-\-cflags \-\-cppflags \-\-ldflags \-\-libs` program.c
36.fi
37
38.SH OPTIONS
39.TP
40.B \-\-cflags
41Print the compiler flags that were used to compile
42.BR libMagick .
43.TP
44.B \-\-cppflags
45Print the preprocessor flags that are needed to find the
46.B ImageMagick
47C include files and defines to ensure that the ImageMagick data structures match between
48your program and the installed libraries.
49.TP
50.B \-\-exec-prefix
51Print the directory under which target specific binaries and executables are installed.
52.TP
53.B \-\-ldflags
54Print the linker flags that are needed to link with the
55.B ImageMagick
56library.
57.TP
58.B \-\-libs
59Print the linker flags that are needed to link a program with
60.BR libMagick .
61.TP
62.B \-\-version
63Print the version of the
64.B ImageMagick
65distribution to standard output.
66.SH LICENSE
67See http://www.imagemagick.org/script/license.php.
68.SH AUTHORS
69John Cristy, ImageMagick Studio LLC