Boost logo

Boost-Build :

Subject: [Boost-build] Duplicate name of actual target, sort of...
From: Simply Seven (simply7_at_[hidden])
Date: 2009-02-11 02:23:18


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.

Thanks in advance!

S7


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