Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-04-11 08:56:45

On 2002-04-11 at 08:21 AM, david.abrahams_at_[hidden] (David Abrahams) wrote:

>----- Original Message -----
>From: "Vladimir Prus" <ghost_at_[hidden]>
>> But there's a problem -- do we allow creating of identially named main
>> targets in two rules? I think we'd want to allow the usage above at
>> stage. I don't know what to do in general -- can it be possible that
>> different versions of the same main target have so different sets of
>> sources/requirements that declaring main target twice is reasonable.

Yes we do. As has been pointed out to me before, in order to support
cross-platform compiling effectively we need to make every part of a target
variable and dependent on the platform we are targeting. Making it possible
to specify the same target multiple times with different
sources/requirements/build-requests would make it easier. For example doing
this would be good:

exe pp : pp.cpp pp-win32.cpp : <sysinclude>/include-win32 ;
exe pp : pp.cpp pp-linux.cpp : <sysinclude>/include-linux ;
exe pp : pp.cpp pp-ps2.cpp : <sysinclude>/include-ps2 ;

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at