List Info

Thread: bbv2 Custom requirements rule, howto?




bbv2 Custom requirements rule, howto?
user name
2006-07-24 10:45:40
In bbv1 it was possible to have custom requirements rule
which had the 
signature:

rule my-requirements ( toolset variant : subvariant-path
properties * )

Is there something similar available in bbv2?

Or is there a different(similar) mechanism available in
bbv2?
I used this to conditionally calculate library and include
directives 
from environment variables.

Regards,
Roland


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
bbv2 Custom requirements rule, howto?
user name
2006-07-24 11:18:15
On Monday 24 July 2006 14:45, Roland Schwarz wrote:
> In bbv1 it was possible to have custom requirements
rule which had the
> signature:
>
> rule my-requirements ( toolset variant :
subvariant-path properties * )
>
> Is there something similar available in bbv2?
>
> Or is there a different(similar) mechanism available in
bbv2?
> I used this to conditionally calculate library and
include directives
> from environment variables.

Consider using indirect conditional requirements:

http://boost
.org/boost-build2/doc/html/bbv2/advanced/targets.html#bbv2.a
dvanced.targets.requirements

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
bbv2 Custom requirements rule, howto?
user name
2006-07-24 16:48:48
Vladimir Prus wrote:
> Consider using indirect conditional requirements:
> 
> http://boost
.org/boost-build2/doc/html/bbv2/advanced/targets.html#bbv2.a
dvanced.targets.requirements
> 
Thank you! This it what I was searching for. I obviously was
reading an 
outdated doc.

Roland

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )