From c106259517d7693ea8e24564bc890fe575d5edcd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Jan 2015 14:11:14 +0200 Subject: Implement rule chaining for cxx::link --- build/prerequisite | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'build/prerequisite') diff --git a/build/prerequisite b/build/prerequisite index 6c9c171..a14621f 100644 --- a/build/prerequisite +++ b/build/prerequisite @@ -19,6 +19,7 @@ namespace build class scope; class target; class target_type; + class tracer; class prerequisite { @@ -50,7 +51,16 @@ namespace build bool operator< (const prerequisite&, const prerequisite&); - typedef std::set prerequisite_set; + struct prerequisite_set: std::set + { + std::pair + insert (const target_type&, + path dir, + std::string name, + const std::string* ext, + scope&, + tracer&); + }; } #endif // BUILD_PREREQUISITE -- cgit v1.1