Boost C++ Libraries: Ticket #3213: Add -C (change directory) option to bjam https://svn.boost.org/trac10/ticket/3213 <p> GNU Make has a very useful command line flag -C (or --directory) that changes the directory to its argument before starting make. This is different than changing it in your shell because Make's change is local to its process (and its subprocesses) and does not change the outside user environment. One example of where this is useful is if I am working in boost/graph, and would like to re-run the Boost.Graph test suite. With -C, all I would need to do is: </p> <p> bjam -C ../../libs/graph/test </p> <p> and the tests would be run as though I changed into that directory, ran bjam, and then changed back. I believe that this feature would be very convenient. More documentation is available at <a class="ext-link" href="http://www.gnu.org/software/make/manual/make.html#Options-Summary"><span class="icon">​</span>http://www.gnu.org/software/make/manual/make.html#Options-Summary</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3213 Trac 1.4.3 Steven Watanabe Wed, 24 Jun 2009 19:56:12 GMT <link>https://svn.boost.org/trac10/ticket/3213#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:1</guid> <description> <p> Doesn't </p> <pre class="wiki">bjam ../../libs/graph/test </pre><p> work? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Wed, 24 Jun 2009 20:00:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3213#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:2</guid> <description> <p> Yes -- I didn't notice that. It isn't in bjam --help, but it is likely to be in the documentation somewhere. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Wed, 24 Jun 2009 20:31:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3213#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:3</guid> <description> <p> This is just part of the syntax for specifying which targets to build. In addition to what is specified at <a href="http://www.boost.org/boost-build2/doc/html/bbv2/reference/definitions.html#bbv2.reference.ids">http://www.boost.org/boost-build2/doc/html/bbv2/reference/definitions.html#bbv2.reference.ids</a>, a path to a directory is interpreted to mean the project in that directory. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 02 Jul 2009 05:25:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3213#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:4</guid> <description> <p> Is there anything still to do here? Can this issue be closed? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Thu, 02 Jul 2009 13:38:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3213#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:5</guid> <description> <p> It can as far as I'm concerned -- the functionality exists in bjam, and there's no reason to add another syntax for it. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Thu, 02 Jul 2009 13:49:47 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3213#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:6</guid> <description> <p> It would be useful for building documentation, as the documentation is built under the current directory. But perhaps the proper solution to that would be to fix the boostbook tool so that there's more control over where the documentation is built. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 02 Jul 2009 14:30:59 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3213#comment:7 https://svn.boost.org/trac10/ticket/3213#comment:7 <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">worksforme</span> </li> </ul> <p> Daniel, I suspect that it is indeed better to address doc location is some other, better way. Can you file an issue telling what is bad about the current arrangement? </p> Ticket Daniel James Fri, 03 Jul 2009 10:08:52 GMT <link>https://svn.boost.org/trac10/ticket/3213#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3213#comment:8</guid> <description> <p> Sure. it's <a class="new ticket" href="https://svn.boost.org/trac10/ticket/3240" title="#3240: Bugs: Boostbook documentation is built under the current working directory. (new)">#3240</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>