$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-13 07:48:44
On Friday 13 January 2006 15:00, Markus Schöpflin wrote:
>> How does the corresponding V2 code look like?
> >
> > In the simplest form:
> >
> > return [ run .....
> >
> > : $(requirements)
> > : <os>OSF,<toolset>gcc>:<cflags>-mfp-rounding=mode=d
> >
> > ....
> >
> > That's provided that <os>OSF is property set on that OS, and if not that
> > can be fixed.
>
> Can this do pattern matching as well? Because this is why local rules are
> used in the first place. The actual tool set name will be something like
> gcc-4.0.2-osf, or tru64cxx65-042, or something similar.
No, there's no pattern matching. But in V2, toolset version is separate from
toolset name, so all versions of gcc on your system will have toolset=gcc,
thus
<toolset>gcc:<clags>-mfp-rounding-mode=d
will match *all* versions of gcc.
- Volodya