<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Statische Bibliotheken automatisch mitlinken]]></title><description><![CDATA[<p>Wenn ich mit dem Visual Studio ein Projekt kompiliere, wo Boost im spiel ist, dann zieht das visual Studio automatisch die benötigten statischen Bibliotheken an.</p>
<p>Frage: Wie geht das? Liegt es an der Namensgebung?</p>
<blockquote>
<p>libboost_iostreams-vc110-mt-1_55.lib (Release)<br />
libboost_iostreams-vc110-mt-gd-1_55.lib (Debug)</p>
</blockquote>
<p>Würde das gerne mit eigenen Bibliotheken reproduzieren können.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/326691/statische-bibliotheken-automatisch-mitlinken</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 17:42:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/326691.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Jul 2014 10:32:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Statische Bibliotheken automatisch mitlinken on Tue, 01 Jul 2014 10:32:10 GMT]]></title><description><![CDATA[<p>Wenn ich mit dem Visual Studio ein Projekt kompiliere, wo Boost im spiel ist, dann zieht das visual Studio automatisch die benötigten statischen Bibliotheken an.</p>
<p>Frage: Wie geht das? Liegt es an der Namensgebung?</p>
<blockquote>
<p>libboost_iostreams-vc110-mt-1_55.lib (Release)<br />
libboost_iostreams-vc110-mt-gd-1_55.lib (Debug)</p>
</blockquote>
<p>Würde das gerne mit eigenen Bibliotheken reproduzieren können.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2406480</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2406480</guid><dc:creator><![CDATA[Fragender123]]></dc:creator><pubDate>Tue, 01 Jul 2014 10:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to Statische Bibliotheken automatisch mitlinken on Tue, 01 Jul 2014 11:01:28 GMT]]></title><description><![CDATA[<p>Das geht mittels <a href="http://msdn.microsoft.com/de-de/library/7f0aews7.aspx" rel="nofollow">#pragma comment</a>:</p>
<pre><code class="language-cpp">#pragma comment(lib, &quot;library_name&quot;)
</code></pre>
<p>Dann braucht man die Lib nicht mehr explizit in den Linkeroptionen angeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2406491</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2406491</guid><dc:creator><![CDATA[Th69]]></dc:creator><pubDate>Tue, 01 Jul 2014 11:01:28 GMT</pubDate></item><item><title><![CDATA[Reply to Statische Bibliotheken automatisch mitlinken on Tue, 01 Jul 2014 13:20:32 GMT]]></title><description><![CDATA[<p>Dazu sei angemerkt, dass die Direktive</p>
<pre><code>#pragma comment(lib, &quot;XXX.lib&quot;)
</code></pre>
<p>eine Erweiterung vom MSVC ist.</p>
<p>Compiler wie GCC oder Clang unterstützen dieses Feature nicht.<br />
Da musst du immer noch explizit beim Linken die Bibliotheken angeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2406512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2406512</guid><dc:creator><![CDATA[DrakoXP]]></dc:creator><pubDate>Tue, 01 Jul 2014 13:20:32 GMT</pubDate></item></channel></rss>