forked from openkylin/imagemagick
70 lines
1.5 KiB
Groff
70 lines
1.5 KiB
Groff
.ad l
|
|
.nh
|
|
.TH Magick-Config 1 "2 May 2002" "ImageMagick"
|
|
.SH NAME
|
|
Magick-config \- get information about the installed version of ImageMagick
|
|
.SH SYNOPSIS
|
|
.B Magick-config
|
|
.B [--cflags]
|
|
.B [--cppflags]
|
|
.B [--exec-prefix]
|
|
.B [--ldflags]
|
|
.B [--libs]
|
|
.B [--prefix]
|
|
.B [--version]
|
|
.SH DESCRIPTION
|
|
.B Magick-config
|
|
prints the compiler and linker flags required to compile and link programs
|
|
that use the
|
|
.BR ImageMagick
|
|
Application Programmer Interface.
|
|
.SH EXAMPLES
|
|
To print the version of the installed distribution of
|
|
.BR ImageMagick ,
|
|
use:
|
|
|
|
.nf
|
|
Magick-config \-\-version
|
|
.fi
|
|
|
|
To compile a program that calls the
|
|
.BR ImageMagick
|
|
Application Programmer Interface, use:
|
|
|
|
.nf
|
|
cc `Magick-config \-\-cflags \-\-cppflags \-\-ldflags \-\-libs` program.c
|
|
.fi
|
|
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \-\-cflags
|
|
Print the compiler flags that were used to compile
|
|
.BR libMagick .
|
|
.TP
|
|
.B \-\-cppflags
|
|
Print the preprocessor flags that are needed to find the
|
|
.B ImageMagick
|
|
C include files and defines to ensure that the ImageMagick data structures match between
|
|
your program and the installed libraries.
|
|
.TP
|
|
.B \-\-exec-prefix
|
|
Print the directory under which target specific binaries and executables are installed.
|
|
.TP
|
|
.B \-\-ldflags
|
|
Print the linker flags that are needed to link with the
|
|
.B ImageMagick
|
|
library.
|
|
.TP
|
|
.B \-\-libs
|
|
Print the linker flags that are needed to link a program with
|
|
.BR libMagick .
|
|
.TP
|
|
.B \-\-version
|
|
Print the version of the
|
|
.B ImageMagick
|
|
distribution to standard output.
|
|
.SH LICENSE
|
|
See http://imagemagick.org/script/license.php.
|
|
.SH AUTHORS
|
|
Cristy, ImageMagick Studio LLC
|