aboutsummaryrefslogtreecommitdiff
path: root/build2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-21 11:03:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-21 11:03:37 +0200
commita14daf38475a414e462708d9b0f4d651e5119b58 (patch)
treefa77c802d8bc7b16d91236c360853a164f13e761 /build2/target.hxx
parente4c4d8d65ea675eaa56c85661ba42e112ab70f4b (diff)
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 }
Diffstat (limited to 'build2/target.hxx')
-rw-r--r--build2/target.hxx1
1 files changed, 0 insertions, 1 deletions
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<lookup, size_t>
find (const variable& var) const
{