aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin/rule.hxx')
-rw-r--r--build2/bin/rule.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/bin/rule.hxx b/build2/bin/rule.hxx
index d656f62..ab8d64b 100644
--- a/build2/bin/rule.hxx
+++ b/build2/bin/rule.hxx
@@ -44,6 +44,18 @@ namespace build2
static target_state
perform (action, const target&);
+
+ // Return library types to build according to the bin.lib value (set
+ // on project's root scope by init()).
+ //
+ struct members
+ {
+ bool a; // static
+ bool s; // shared
+ };
+
+ static members
+ build_members (const scope&);
};
}
}