Boost logo

Boost-Build :

From: Paul Schmidt (prs_at_[hidden])
Date: 2003-07-16 09:36:57

--- In jamboost_at_[hidden], Rene Rivera <grafik666_at_r...> wrote:
> >So some binaries need to be built for the EE, and some for the IOP.
> I'd say use the <architecture> and <instruction-set> features which
you can
> specify on a per top level target basis. Look at the how the
> does it to support building for supporting the various CPUs that gcc
> supports.

Hmmm. If I interpret your phrase, "per top level target basis"
correctly, I don't think that helps me. I want to be able to run bjam
on a TOP jamfile, and have some subprojects build binaries targeted to
the Playstation2 EE processor, and some binaries targeted to its IOP

Can I do something like this: In each subproject, do something like:

local on_ps2ee ;
ps2ee = 1; # or not

And in the tools jam file, write somthing like:

if $(ps2ee )
flags snps HDR_PATHS : $(SCE)\\EE\\INCLUDE
flags snps HDR_PATHS : $(SCE)\\IOP\\INCLUDE

Yeah, well, that's probably wrong, but that should convey what I'm
trying to do. BTW, I want to keep the local jamfiles as simple as
possible, even at the expense of making the tools files more complex.




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