MagickWand-Config(1) General Commands Manual MagickWand-Config(1)

# [NAME](#NAME)

MagickWand-config - get information about the installed version of the Magick Wand

# [SYNOPSIS](#SYNOPSIS)

**MagickWand-config** **\[--cflags]** **\[--cppflags]** **\[--exec-prefix]** **\[--ldflags]** **\[--libs]** **\[--prefix]** **\[--version]**

# [DESCRIPTION](#DESCRIPTION)

**MagickWand-config** prints the compiler and linker flags required to compile and link programs that use the **Wand** Application Programmer Interface.

# [EXAMPLES](#EXAMPLES)

To print the version of the installed distribution of **Wand**, use:

```


  MagickWand-config --version
```

To compile a program that calls the **Wand** Application Programmer Interface, use:

```


  cc `MagickWand-config --cflags --cppflags --ldflags --libs` program.c
```

# [OPTIONS](#OPTIONS)

[**--cflags**](#cflags)

Print the compiler flags that were used to compile **libWand**.

[**--cppflags**](#cppflags)

Print the preprocessor flags that are needed to find the **Wand** C include files and defines to ensure that the Wand data structures match between your program and the installed libraries.

[**--exec-prefix**](#exec-prefix)

Print the directory under which target specific binaries and executables are installed.

[**--ldflags**](#ldflags)

Print the linker flags that are needed to link with the **Wand** library.

[**--libs**](#libs)

Print the linker flags that are needed to link a program with **libWand**.

[**--version**](#version)

Print the version of the **Wand** distribution to standard output.

# [COPYRIGHT](#COPYRIGHT)

See https://imagemagick.org/license/

# [AUTHORS](#AUTHORS)

Cristy, ImageMagick Studio LLC

2 May 2002 Wand

---

Document: MagickWand-config(1) from imagemagick-7 7.1.2.34-r0 (Chainguard OS)
Source: https://github.com/ImageMagick/ImageMagick.git
