aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target')
-rw-r--r--build2/target4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/target b/build2/target
index 0dec5d4..8733a59 100644
--- a/build2/target
+++ b/build2/target
@@ -549,7 +549,9 @@ namespace build2
//
public:
target (dir_path d, dir_path o, string n, optional<string> e)
- : dir (move (d)), out (move (o)), name (move (n)), ext (move (e)) {}
+ : dir (move (d)), out (move (o)), name (move (n)), ext (move (e)),
+ vars (true) // Global.
+ {}
};
// All targets are from the targets set below.