MagickCore-config (1) Linux Manual Page
MagickCore-config – get information about the installed version of ImageMagick
Synopsis
MagickCore-config [–cflags] [–cppflags] [–exec-prefix] [–ldflags] [–libs] [–prefix] [–version]
Description
MagickCore-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Programmer Interface.
Examples
To print the version of the installed distribution of ImageMagick, use:
MagickCore-config --version
ImageMagick Application Programmer Interface, use:
cc `MagickCore-config --cflags --cppflags --ldflags --libs` program.c
Options
–cflags- Print the compiler flags that were used to compile
libMagick. –cppflags- Print the preprocessor flags that are needed to find the
ImageMagickC include files and defines to ensure that the ImageMagick data structures match between your program and the installed libraries. –exec-prefix- Print the directory under which target specific binaries and executables are installed.
–ldflags- Print the linker flags that are needed to link with the
ImageMagicklibrary. –libs- Print the linker flags that are needed to link a program with
libMagick. –version- Print the version of the
ImageMagickdistribution to standard output.
License
See http://www.imagemagick.org/script/license.php.
Authors
John Cristy, ImageMagick Studio LLC
