Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-20 10:53:15


David Abrahams wrote:

> > local a = [ modules.peek feature : <os>.attributes ] ;
> > modules.poke feature : <os>.attributes : $(a) symmetric ;
> >
> > this will cause Boost.Build to always include the value of the "os"
> > feature in build path. We probably need a cleaner way to accomplish this
> > task but the main idea will remain the same.
>
> Seems to me that the os feature should not be symmetric. Instead it
> should have a default value of "native" or "host". You're only likely
> to _explicitly_ build for win32 or linux or whatever if you're
> interested in cross-compilation. That way the majority of users don't
> have to see the OS in subvariant paths.

I actually meant that there are two kinds of users: those who don't care about
OS at all, and those who care. The latter will just specify that "os" is
symmetric.

The problem with using "native" as default is that conditions like
"<os>LINUX:....." will stop working.

- Volodya

 


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