GraphicsMagick-Config(1)

Okay bestie, welcome to GraphicsMagick-Config(1) ✨ It lives in the General Commands Manual, section 1, and it is such a useful little tool πŸ’…

πŸŽ€ NAME πŸŽ€

GraphicsMagickWand-config β€” get info about the installed version of GraphicsMagick πŸ¦‹

🌸 SYNOPSIS 🌸

GraphicsMagickWand-config [--cflags] [--cppflags] [--exec-prefix]
[--ldflags] [--libs] [--prefix] [--version]

πŸ’– DESCRIPTION πŸ’–

Okay so GraphicsMagickWand-config basically prints the compiler and linker flags you need to compile and link programs that use the GraphicsMagick Wand Application Programmer Interface. It's giving "everything you need, nothing you don't" 🫢

⭐ EXAMPLES ⭐

Wanna check which version of GraphicsMagick you've got? Just run this, it's literally one line 🧚

GraphicsMagickWand-config --version

And if you're trying to compile a program that calls the GraphicsMagick Wand API, do this. Main character energy πŸ‘‘

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

✨ OPTIONS ✨

  • --cflags β€” grabs the compiler flags that were used to build libGraphicsMagick. 🧁
  • --cppflags β€” gives you the preprocessor flags needed to find the GraphicsMagick C include files and defines. This is the part that makes sure your GraphicsMagick data structures match the installed libraries, so nothing gets weird 🫢
  • --exec-prefix β€” shows the directory where target-specific binaries and executables get installed. 🌈
  • --ldflags β€” prints the linker flags needed to link with the GraphicsMagickWand library. πŸ”₯
  • --libs β€” prints the linker flags needed to link a program with libMagick. πŸ’œ
  • --version β€” prints the version of the GraphicsMagick distribution to standard output. πŸ“

Lowkey legal stuff, but you should know it:

  • Copyright (C) 2003 GraphicsMagick Group
  • Copyright (C) 2002 ImageMagick Studio

πŸ‘‘ AUTHORS πŸ‘‘

Bob Friesenhahn, the queen who made this happen πŸ’–


And that's the tea β˜• This page is from GraphicsMagick, dated 15 June 2003, and it's GraphicsMagick-Config(1). Periodt πŸ’…πŸŒˆ