Boost logo

Boost-Build :

Subject: Re: [Boost-build] Duplicate name of actual target, sort of...
From: Simply Seven (simply7_at_[hidden])
Date: 2009-02-13 15:27:16


On Feb 13, 2009, at 2:32 AM, Vladimir Prus wrote:

> On Wednesday 11 February 2009 10:23:18 Simply Seven wrote:
>>
>> Hi,
>>
>> I have a rule that looks like so:
>>
>> rule building ( properties * )
>> {
>> local result ;
>>
>> # nat-pmp
>> result += <source>../nat-pmp/src/client.cpp ;
>>
>> # upnp
>> result += <source>../upnp/src/client.cpp ;
>> result += <source>../upnp/src/commands.cpp ;
>> result += <source>../upnp/src/description.cpp ;
>> result += <source>../upnp/src/device.cpp ;
>> result += <source>../upnp/src/error_code.cpp ;
>> result += <source>../upnp/src/soap.cpp ;
>> result += <source>../upnp/src/xml.cpp ;
>>
>> return $(result) ;
>> }
>>
>> I am having the duplicate problem because the two "client.cpp"
>> files that are in separate directories.
>>
>> I assume I need to change the obj files of these duplicate cases
>> but I have no idea how.
>
> This is documented at http://www.boost.org/boost-build2/doc/html/bbv2/faq/s02.html
> Alternatively, you can try SVN HEAD version of Boost.Build which
> might automatically
> put object files in different directories.

Yep, the latest boost-build fixed this in 1.38.0.

>
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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