source: libcaca/trunk/doc/caca-config.1 @ 4299

Last change on this file since 4299 was 4148, checked in by Sam Hocevar, 10 years ago

Update my e-mail address everywhere.

File size: 2.0 KB
RevLine 
[208]1.TH caca-config 1 "2003-11-22" "libcaca"
[207]2.SH NAME
3caca-config \- script to get information about the installed version of libcaca
4.SH SYNOPSIS
5.B caca-config
6[ --prefix=
7.IR DIR ]
8[ --exec-prefix=
9.IR DIR ]
[1356]10[ --version ] [ --libs ] [ --cflags ]
[207]11.SH DESCRIPTION
12.B caca-config
13is a tool that is used to configure and determine the compiler and linker
14flags that should be used to compile and link progams, libraries, and
15plugins that use libcaca.
[1356]16
17The use of
18.B caca-config
19is deprecated. The more generic tool
20.B pkg-config
21should be used instead.
[207]22.SH OPTIONS
23.TP
24.B --cflags
25Print the compiler flags that are necessary to compile a program or library
26that uses libcaca.
27.TP
28.BI --exec-prefix= DIR
29If specified, use
30.I DIR
31instead of the installation exec prefix that libcaca was build with when
[1356]32computing the output for the --cflags and --libs options.
33This option must be specified before any of the --cflags and --libs options.
[207]34.TP
35.B --libs
[1356]36Print the linker flags that are necessary to link a program or library
37that uses libcaca.
[207]38.TP
39.BI --prefix= DIR
40If specified, use PREFIX instead of the installation prefix that libcaca
[1356]41was built with when computing the output for the --cflags and --libs
42options.  This option is also used for the exec prefix if --exec-prefix
43was not specified.  This option must be specified before any of the --cflags
44and --libs options.
[207]45.TP
46.B --version
47Prints the currently installed version of libcaca on standard output.
48.SH EXAMPLES
49.TP
50gcc -o main.o $(caca-config --cflags) -c main.c
51is how you might use
52.B caca-config
53to compile a C source file for an executable program.
54.TP
55gcc -o my_app $(caca-config --libs) main.o util.o
56is how you might use
57.B caca-config
58to link compiled objects into an executable program.
[1356]59.SH SEE ALSO
60pkg-config(1)
[207]61.SH AUTHOR
[4148]62The libcaca library was written by Sam Hocevar <sam@hocevar.net>.
[207]63.PP
64This manual page was written for sdl-config by Branden Robinson, originally
65for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to
66libcaca by Sam Hocevar.
Note: See TracBrowser for help on using the repository browser.