Imported Upstream version 2.99.2
[platform/upstream/libsigc++.git] / docs / reference / html / index.html
index 0808a77..7f52b5e 100644 (file)
@@ -19,7 +19,7 @@
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
    <div id="projectname">libsigc++
-   &#160;<span id="projectnumber">2.99.1</span>
+   &#160;<span id="projectnumber">2.99.2</span>
    </div>
   </td>
  </tr>
@@ -65,16 +65,26 @@ Basic Usage</h1>
 <p>Include the libsigc++ header: </p><div class="fragment"><div class="line"><span class="preprocessor">#include &lt;sigc++/sigc++.h&gt;</span></div>
 </div><!-- fragment --><p> (You may include individual headers, such as <code>sigc++/bind</code>.h instead.)</p>
 <p>If your source file is <code>program.cc</code>, you can compile it with: </p><div class="fragment"><div class="line">g++ program.cc -o program `pkg-config --cflags --libs <a class="code" href="namespacesigc.html">sigc</a>++-3.0`</div>
-</div><!-- fragment --><p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p><div class="fragment"><div class="line">PKG_CHECK_MODULES([LIBSIGC], [<a class="code" href="namespacesigc.html">sigc</a>++-3.0])</div>
-</div><!-- fragment --><p> Then use the generated <code>LIBSIGC_CFLAGS</code> and <code>LIBSIGC_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p><div class="fragment"><div class="line">program_CPPFLAGS = $(LIBSIGC_CFLAGS)</div>
-<div class="line">program_LDADD = $(LIBSIGC_LIBS)</div>
-</div><!-- fragment --><h1><a class="anchor" id="scope"></a>
+</div><!-- fragment --><h2><a class="anchor" id="autotools"></a>
+Using Autotools</h2>
+<p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p><div class="fragment"><div class="line">PKG_CHECK_MODULES([DEPS], [<a class="code" href="namespacesigc.html">sigc</a>++-3.0])</div>
+</div><!-- fragment --><p> Then use the generated <code>DEPS_CFLAGS</code> and <code>DEPS_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p><div class="fragment"><div class="line">yourprogram_CPPFLAGS = $(DEPS_CFLAGS)</div>
+<div class="line">yourprogram_LDADD = $(DEPS_LIBS)</div>
+</div><!-- fragment --><p>Your <code>PKG_CHECK_MODULES()</code> call should also mention any other libraries that you need to use via pkg-config.</p>
+<h2><a class="anchor" id="cmake"></a>
+Using CMake</h2>
+<p>If using CMake, use the following in <code>CMakeList.txt:</code> </p><div class="fragment"><div class="line">include(FindPkgConfig)</div>
+<div class="line">pkg_check_modules(DEPS REQUIRED <a class="code" href="namespacesigc.html">sigc</a>++-3.0)</div>
+<div class="line">include_directories(${DEPS_INCLUDE_DIRS})</div>
+<div class="line">target_link_libraries(yourprogram ${DEPS_LIBRARIES})</div>
+</div><!-- fragment --><p>Your <code>pkg_check_modules()</code> call should also mention any other libraries that you need to use via pkg-config.</p>
+<h1><a class="anchor" id="scope"></a>
 Scope of Documentation</h1>
 <p>libsigc++ contains many template functions and template classes/structs, some with many specializations. This reference manual does not show all specializations of those templates that hardly any user will use directly. </p>
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Mon Mar 7 2016 11:43:49 for libsigc++ by &#160;<a href="http://www.doxygen.org/index.html">
+Generated on Wed Mar 16 2016 20:53:28 for libsigc++ by &#160;<a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.9.1
 </small></address>