From 17287b34a8090d381278c02b7bc6676669968099 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Mar 2015 11:43:03 +0200 Subject: Implement new default target logic, canonical directory name (empty value) The logic is as follows: if we have an explicit current directory target, then that's the default target. Otherwise, we take the first target and use it as a prerequisite to create an implicit current directory target, effectively making it the default target via an alias. If there are no targets in this buildfile, then we don't do anything. --- build/target.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'build/target.cxx') diff --git a/build/target.cxx b/build/target.cxx index 4168991..136b912 100644 --- a/build/target.cxx +++ b/build/target.cxx @@ -113,7 +113,6 @@ namespace build } target_set targets; - target* default_target = nullptr; target_type_map target_types; // path_target -- cgit v1.1