From e8ab0366e114a6181028cdabe60ca9d502ef46d3 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 8 Jan 2003 18:16:32 +0000 Subject: [PATCH] added missing validate-property-sets [SVN r16798] --- new/property.jam | 11 +++++++++++ v2/build/property.jam | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/new/property.jam b/new/property.jam index 3093649e4..a9f8af3b3 100644 --- a/new/property.jam +++ b/new/property.jam @@ -224,6 +224,17 @@ rule validate ( property : feature-space ? ) } } +rule validate-property-sets ( property-sets * : feature-space ? ) +{ + for local s in $(property-sets) + { + for local p in [ feature.split $(s) ] + { + validate $(p) ; + } + } +} + # Makes a property set from 'specification', converting implicit values into # full properties. # TODO: Might want to use 'feature-space' here as well as in other rules. diff --git a/v2/build/property.jam b/v2/build/property.jam index 3093649e4..a9f8af3b3 100644 --- a/v2/build/property.jam +++ b/v2/build/property.jam @@ -224,6 +224,17 @@ rule validate ( property : feature-space ? ) } } +rule validate-property-sets ( property-sets * : feature-space ? ) +{ + for local s in $(property-sets) + { + for local p in [ feature.split $(s) ] + { + validate $(p) ; + } + } +} + # Makes a property set from 'specification', converting implicit values into # full properties. # TODO: Might want to use 'feature-space' here as well as in other rules.