1caca-config(1)              General Commands Manual             caca-config(1)
2
3
4

NAME

6       caca-config  - script to get information about the installed version of
7       libcaca
8

SYNOPSIS

10       caca-config [ --prefix= DIR] [ --exec-prefix=  DIR]  [  --version  ]  [
11       --libs ] [ --cflags ]
12

DESCRIPTION

14       caca-config  is a tool that is used to configure and determine the com‐
15       piler and linker flags that should be used to compile and link progams,
16       libraries, and plugins that use libcaca.
17
18       The  use of caca-config is deprecated. The more generic tool pkg-config
19       should be used instead.
20

OPTIONS

22       --cflags
23              Print the compiler flags that are necessary to compile a program
24              or library that uses libcaca.
25
26       --exec-prefix=DIR
27              If  specified,  use  DIR instead of the installation exec prefix
28              that libcaca was build with when computing the  output  for  the
29              --cflags  and  --libs  options.   This  option must be specified
30              before any of the --cflags and --libs options.
31
32       --libs Print the linker flags that are necessary to link a  program  or
33              library that uses libcaca.
34
35       --prefix=DIR
36              If specified, use PREFIX instead of the installation prefix that
37              libcaca was  built  with  when  computing  the  output  for  the
38              --cflags  and  --libs options.  This option is also used for the
39              exec prefix if --exec-prefix was  not  specified.   This  option
40              must be specified before any of the --cflags and --libs options.
41
42       --version
43              Prints  the  currently  installed version of libcaca on standard
44              output.
45

EXAMPLES

47       gcc -o main.o $(caca-config --cflags) -c main.c
48              is how you might use caca-config to compile a C source file  for
49              an executable program.
50
51       gcc -o my_app $(caca-config --libs) main.o util.o
52              is  how  you might use caca-config to link compiled objects into
53              an executable program.
54

SEE ALSO

56       pkg-config(1)
57

AUTHOR

59       The libcaca library was written by Sam Hocevar <sam@hocevar.net>.
60
61       This manual page was written for sdl-config by Branden Robinson, origi‐
62       nally  for  Progeny Linux Systems, Inc., and the Debian Project. It was
63       adapted to libcaca by Sam Hocevar.
64
65
66
67libcaca                           2003-11-22                    caca-config(1)
Impressum