LinuxCommandLibrary

cups-config

CUPS build configuration helper

TLDR

Get CUPS include directory

$ cups-config --cflags
copy
Get CUPS library flags
$ cups-config --libs
copy
Get CUPS version
$ cups-config --version
copy
Get all configuration
$ cups-config --all
copy

SYNOPSIS

cups-config [options]

DESCRIPTION

cups-config provides configuration information for CUPS (Common Unix Printing System). It's primarily used by build systems to determine compiler and linker flags when building software that uses CUPS libraries.

PARAMETERS

--cflags

Print compiler flags for CUPS headers.
--libs
Print linker flags for CUPS libraries.
--version
Print CUPS version.
--ldflags
Print linker directory flags.
--serverbin
Print server binary directory.
--serverroot
Print server root directory.
--datadir
Print data directory.

SEE ALSO

cupsd(8), lp(1), lpr(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community