Boost logo

Boost-Build :

Subject: Re: [Boost-build] multiple generated targets from a single source file
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-03 12:08:36


AMDG

On 04/03/2012 08:24 AM, Rene Rivera wrote:
>
> You can also do:
>
> lib shared:
> foo.compil/<compile-type>main
> foo.compil/<compile-type>partial ;
>
> But that's theoretical in that I don't know if you will get duplicate
> source errors by having the same source with different variants.
>

I don't think this will work. My understanding
is that foo.compil/<compile-type>main builds
foo.compil with the extra properties. But
foo.compil is a source which doesn't need
building, so it is returned unchanged and
the conversion COMPIL -> CPP doesn't get
get the property.

In Christ,
Steven Watanabe


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