From a14daf38475a414e462708d9b0f4d651e5119b58 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Nov 2018 11:03:37 +0200 Subject: Add support for target and prerequisite specific variable blocks For example, now instead of: lib{foo}: cxx.loptions += -static lib{foo}: cxx.libs += -lpthread We can write: lib{foo}: { cxx.loptions += -static cxx.libs += -lpthread } The same works for prerequisites as well as target type/patterns. For example: exe{*.test}: { test = true install = false } --- build2/target.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'build2/target.hxx') diff --git a/build2/target.hxx b/build2/target.hxx index ca93b24..b1bd16a 100644 --- a/build2/target.hxx +++ b/build2/target.hxx @@ -395,7 +395,6 @@ namespace build2 // that given two lookups from the same target, we can say which one came // earlier. If no value is found, then the depth is set to ~0. // - // pair find (const variable& var) const { -- cgit v1.1