Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-15 03:05:42


On Tuesday 15 February 2005 03:49, Joel de Guzman wrote:

> I'm confused. What's wrong with this?
>
> exe quickbook
>
> : detail/quickbook.cpp /boost/program_options//program_options
> : <include>$(BOOST_ROOT)
>
> ;
>
> It's working on my copy of 1.32.0. Eric says he gets:
>
> error: Unable to find file or target named
> error: '/boost/program_options//program_options'
> error: referred from project at
> error: '.'

In CVS version? The problem is that in CVS version there's no code that makes
"/boost/program_options" valid project id. In 1.32 there were a bunch of
'build-project' statements in the top-level Jamfile, but when I implemented
install support for V2, they were gone.

I've just committed the attached patch which should make your example working.
The downside is that now a verbose message from Boost.Regex is printed....

- Volodya
 --Boundary-00=_W1aECT/HKhNI78V Content-Type: text/x-diff;
charset="iso-8859-1";
name="Jamfile.v2.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Jamfile.v2.diff"

Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/Jamfile.v2,v
retrieving revision 1.15
diff -u -r1.15 Jamfile.v2
--- Jamfile.v2 24 Jan 2005 14:11:26 -0000 1.15
+++ Jamfile.v2 15 Feb 2005 08:00:13 -0000
@@ -177,4 +177,12 @@
;

explicit install install-libs install-headers stage ;
+
+
+# Make project ids of all libraries known.
+
+for local l in $(libraries)
+{
+ use-project /boost/$(l) : libs/$(l)/build ;
+}

\ No newline at end of file
 --Boundary-00=_W1aECT/HKhNI78V--


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk