<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="project-manager-module" xml:lang="de">

  <info xmlns:facet="http://projectmallard.org/facet/1.0/">
    <facet:tag key="all-pages" value="whatever"/> <!--Include page in index-->
    <link type="guide" xref="index#anjuta-project-management" groups="third"/>
    <link type="next" xref="project-manager-package"/>
    <link type="seealso" xref="project-manager-library"/>
    <revision pkgversion="3.0" version="0.1" date="2011-03-27" status="incomplete"/>
    <desc>Bibliotheken zu einem Projekt hinzufügen oder daraus entfernen.</desc>
    <credit type="author">
      <name>Sébastien Granjoux</name>
      <email>seb.sfo@free.fr</email>
    </credit>
    <credit type="editor">
      <name>Philip Chimento</name>
      <email>philip.chimento@gmail.com</email>
    </credit>
  </info>

  <title>Neue Bibliotheken hinzufügen oder vorhandene entfernen</title>

  <p>
    On Linux, most libraries are packaged to be easily used.
    When you need one of these libraries, <app>Anjuta</app> provides
    an easy interface to add it. If the library you need is not one of these,
    check the <link xref="project-manager-library">Add non-packaged
    libraries</link> page.
  </p>

  <section>
    <title>Paketierte Bibliotheken in einem neuen Modul hinzufügen</title>

    <p>Eine Bibliothek kann nicht direkt zu Ihrem Programm hinzugefügt werden. Zunächst müssen Sie ein Modul dafür erstellen, welches aus einer Gruppe von Bibliotheken besteht.</p>

    <steps>
      <item>
        <p>
 	  Select the program where you want to add the new library in
          the <gui>project view</gui>, click on the right mouse button to
          make the <gui>project context menu</gui> appear, and select
          <gui>Add Library</gui>. Then click on the <gui>New Library</gui>
          button on this dialog.
        </p>
        <p>Wählen Sie <guiseq><gui>Projekt</gui><gui>Neue Bibliothek …</gui></guiseq> im <gui>Hauptmenü</gui>.</p>
      </item>
      <item>
        <p>Eine Liste aller auf Ihrem System installierten Bibliotheken wird angezeigt. Sie können eine oder mehrere Bibliotheken auswählen.</p>
        <note style="tip">
          <p>
            If the library you want does not appear here, perhaps it
            is because it is not installed on your system.
            Launch the application you
            use to install new programs and search for the library name.
            The package you need often has a "dev" or "devel" suffix and
            should include header files and a pkg-config file with a
            <file>.pc</file> extension.
          </p>
        </note>
        <p>
          After selecting one library, a module name will be
          automatically generated but you can change it. When you are
          done, click on the <gui>Add</gui> button to create the new module
          with the selected libraries.
        </p>
      </item>
      <item>
        <p>
          Read the <link xref="project-manager-package">next page</link> to
          find out how to add this new module to your target.
        </p>
      </item>
    </steps>
  
  </section>

  <section>
    <title>Paketierte Bibliotheken in einem existierenden Modul hinzufügen</title>

    <steps>
      <item>
        <p>
 	  Select the module where you want to add the new library in
          the <gui>project view</gui>, click on the right mouse button to
          make the <gui>project context menu</gui> appear and select
          <gui>New Library</gui>.
        </p>
        <p>Wählen Sie <guiseq><gui>Projekt</gui><gui>Neue Bibliothek …</gui></guiseq> im <gui>Hauptmenü</gui>.</p>
      </item>
      <item>
        <p>
          In the list of all packaged libraries, check the additional
          libraries wanted. Check that expected module name is selected
          in the bottom text box.
          Then click on the <gui>Add</gui> button to update the module.
        </p>
      </item>
      <item>
        <p>
          Read the <link xref="project-manager-package">next page</link> to
          find out how to add the module to your target.
        </p>
      </item>
    </steps>
  
  </section>

  <section>
    <title>Eine paketierte Bibliothek aus einem Modul entfernen</title>

    <steps>
      <item>
        <p>
          Select the library you want to remove in the
          <gui>project view</gui> , click on the right mouse button to
          make the <gui>project context menu</gui> appear and select
          <gui>Remove</gui>.
        </p>
      </item>
      <item>
        <p>Ein Bestätigungsdialog wird geöffnet, und die Bibliothek wird aus der Projektdatei entfernt.</p>
      </item>
    </steps>

  </section>

</page>
