]> granicus.if.org Git - imagemagick/blob - MagickCore/MagickCore-config.1
(no commit message)
[imagemagick] / MagickCore / MagickCore-config.1
1 .ad l
2 .nh
3 .TH MagickCore-Config 1 "2 May 2002" "ImageMagick"
4 .SH NAME
5 MagickCore-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
17 prints the compiler and linker flags required to compile and link programs
18 that use the
19 .BR ImageMagick
20 Application Programmer Interface.
21 .SH EXAMPLES
22 To print the version of the installed distribution of
23 .BR ImageMagick ,
24 use:
25
26 .nf
27   MagickCore-config \-\-version
28 .fi
29   
30 To compile a program that calls the 
31 .BR ImageMagick
32 Application 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
41 Print the compiler flags that were used to compile 
42 .BR libMagick .
43 .TP
44 .B \-\-cppflags
45 Print the preprocessor flags that are needed to find the
46 .B ImageMagick
47 C include files and defines to ensure that the ImageMagick data structures match between
48 your program and the installed libraries.
49 .TP
50 .B \-\-exec-prefix
51 Print the directory under which target specific binaries and executables are installed.
52 .TP
53 .B \-\-ldflags
54 Print the linker flags that are needed to link with the
55 .B ImageMagick
56 library.
57 .TP
58 .B \-\-libs
59 Print the linker flags that are needed to link a program with
60 .BR libMagick .
61 .TP
62 .B \-\-version
63 Print the version of the
64 .B ImageMagick
65 distribution to standard output.
66 .SH LICENSE
67 See http://www.imagemagick.org/script/license.php.
68 .SH AUTHORS
69 Cristy, ImageMagick Studio LLC