Boost C++ Libraries: Ticket #4169: Dependency feature does not build dependency targets. https://svn.boost.org/trac10/ticket/4169 <p> I added a feature to take advantage of Apple's linker option "-force_load" (see <a class="changeset" href="https://svn.boost.org/trac10/changeset/61684" title="Add a force-load dependency feature to allow for cases where the ...">[61684]</a>). Unfortunately it doesn't totally work. The dependency I specify is a BB target itself, for example: </p> <pre class="wiki">lib mylib : x.cpp ; exe test : main.cpp : &lt;force-load&gt;mylib/&lt;link&gt;static ; </pre><p> Will add the correct link option and path to the archive. But it doesn't build, as I would expect, the mylib.a archive. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4169 Trac 1.4.3 René Rivera Thu, 29 Apr 2010 22:05:30 GMT <link>https://svn.boost.org/trac10/ticket/4169#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4169#comment:1</guid> <description> <p> I "worked around it" by manually doing a DEPENDS (see <a class="changeset" href="https://svn.boost.org/trac10/changeset/61689" title="Manually add dependency to force_load declared source.">[61689]</a>), But it still seems like this is something that should be done automatically. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 11 Mar 2014 23:40:22 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4169#comment:2 https://svn.boost.org/trac10/ticket/4169#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> This is the expected behavior. A "dependency" feature is a target. It doesn't necessarily create a build dependency. (For example, implicit-dependency and use are both dependency features.) </p> Ticket