Boost logo

Boost-Build :

From: Phil Seaver (phil_at_[hidden])
Date: 2008-08-07 18:55:28


I'm trying to change the way the darwin toolset works, specifically for
"universal" (<architecture>combined) builds.

What I'd like to do is have it behave as if I had done
<architecture>power,x86 (and so generate two sets of everything) and
then have a separate step where I run "lipo" on each pair of libraries
or executables to create a universal library or executable.

I was thinking of doing it in the "run" method of a custom linking
generator class, but I'm not sure if that's early enough in the build
process.

I thought I had seen it documented somewhere exactly when and how
virtual targets are created and the calls that are made to generators,
etc., but I haven't been able to find it or figure it out yet.

Thanks,

Phillip


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