From bef7c36a3479b9b83eaf4be9ef090b21d6468f12 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Jul 2015 10:01:36 +0200 Subject: Make subprojects list of name=subdir pairs --- build/config/operation.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/config') diff --git a/build/config/operation.cxx b/build/config/operation.cxx index ea338f5..43a5718 100644 --- a/build/config/operation.cxx +++ b/build/config/operation.cxx @@ -176,6 +176,9 @@ namespace build { for (const name& n: v.as ()) { + if (n.pair != '\0') + continue; // Skip project names. + dir_path out_nroot (out_root / n.dir); scope& nroot (scopes.find (out_nroot)); @@ -270,6 +273,9 @@ namespace build { for (const name& n: v.as ()) { + if (n.pair != '\0') + continue; // Skip project names. + // Create and bootstrap subproject's root scope. // dir_path out_nroot (out_root / n.dir); -- cgit v1.1