Magick++-Config(1) General Commands Manual Magick++-Config(1)

# [NAME](#NAME)

GraphicsMagick++-config - get information about the installed version of Magick++

# [SYNOPSIS](#SYNOPSIS)

**GraphicsMagick++-config** **\[--cppflags]** **\[--cxxflags]** **\[--exec-prefix]** **\[--ldflags]** **\[--libs]** **\[--prefix]** **\[--version]**

# [DESCRIPTION](#DESCRIPTION)

**GraphicsMagick++-config** prints the compiler and linker flags required to compile and link programs that use the **GraphicsMagick** C++ Application Programmer Interface (known as **Magick++** ).

# [EXAMPLES](#EXAMPLES)

To print the version of the installed distribution of **Magick++**, use:

```


  GraphicsMagick++-config --version
```

To compile a program that calls the **GraphicsMagick** C++ Application Programmer Interface, use:

```


  c++ `GraphicsMagick++-config --cxxflags --cppflags --ldflags --libs` program.cpp
```

# [OPTIONS](#OPTIONS)

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

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

[**--cxxflags**](#cxxflags)

Print the compiler flags that were used to compile **libMagick++**.

[**--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 **libMagick++** library.

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

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

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

Print the directory under which the package is installed.

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

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

# [COPYRIGHT](#COPYRIGHT)

Copyright (C) 2002 GraphicsMagick Group Copyright (C) 2000 ImageMagick Studio

# [AUTHORS](#AUTHORS)

Bob Friesenhahn, ImageMagick Studio

2 May 2002 GraphicsMagick

---

Document: GraphicsMagick++-config(1) from graphicsmagick 1.3.49-r0 (Chainguard OS)
Source: https://downloads.sourceforge.net/graphicsmagick/1.3.49/GraphicsMagick-1.3.49.tar.xz
