Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-07-19 09:19:15


   Hi Rene.

> Steven Watanabe wrote:
>> The attached patch fixes the problem described at
>> http://zigzag.cs.msu.su/boost.build/ticket/13.
>
> I'm assuming the patch matches this changeset
> <http://svn.boost.org/trac/boost/changeset/47536>. If so, it so happens
> that it breaks use of source targets specified as absolute paths.

   I've reopened the corresponding ticket
(https://zigzag.lvk.cs.msu.su:7813/boost.build/ticket/13).

   I looked at the problems this patch causes a bit and found problems
with two types of dependency features:
     1. Those whose values are given as absolute paths.
     2. Those whose values identify targets in the same project.

   Is it ok if I commit back Steven's Boost Build tests? I'll also add
try to add the above test cases to it.

   For an example of the second type of error noted above try running
Boost Serialization tests. There the
<dependency>test_class_info_save_text_archive feature will get
transformed into
<dependency>serialization_test//test_class_info_save_text_archive which
will then not be recognized by Boost Build as a valid target.

   I guess that problem could be fixed by making Boost Build interpret
targets identified using the current project's id correctly. If I am not
mistaken then the following (currently failing) use case should be made
to work as well:

#---------
project abla : id kuku ;
obj ooo : xxx.cpp ;
explicit ooo ;
exe xxx : kuku//ooo ;
#---------

   Any thoughts on this?

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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