Debian Codegraph @

docs/overview.xml

raw symbols SCIP
1 <?xml version='1.0' encoding="ISO-8859-1"?>
2
3 <part id="overview">
4 <title>Overview</title>
5 <partintro>
6 <para>
7 The libmediaart library is the foundation for media art caching,
8 extraction and lookup for applications on the desktop.
9 </para>
10 </partintro>
11
12 <chapter id="overview-compiling">
13 <title>Compiling applications</title>
14
15 <para>
16 To compile applications using libmediaart, you
17 need to tell the compiler where to find the proper header files
18 and libraries. This is done with the
19 <application>pkg-config</application> utility.
20 </para>
21
22 <para>
23 The following interactive shell session demonstrates how
24 <application>pkg-config</application> is used (the actual output on
25 your system may be different):
26 <programlisting>
27 $ pkg-config --cflags libmediaart-0.2
28
29 $ pkg-config --libs libmediaart-0.2
30
31 </programlisting>
32 </para>
33 <para>
34 The simplest way to compile a program is to use the "backticks"
35 feature of the shell. If you enclose a command in backticks
36 (<emphasis>not single quotes</emphasis>), then its output will be
37 substituted into the command line before execution:
38 <programlisting>
39 $ cc `pkg-config --cflags --libs libmediaart-0.2` hello.c -o hello
40 </programlisting>
41 </para>
42
43 </chapter>
44 </part>