diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-13 10:01:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-13 10:01:36 +0200 |
commit | bef7c36a3479b9b83eaf4be9ef090b21d6468f12 (patch) | |
tree | 15a827bd6175a558dc0924b933cf3a6f9f0f9d88 /build/config/operation.cxx | |
parent | 4208f2d755f2bd2215051390f6500ccf54f1858f (diff) |
Make subprojects list of name=subdir pairs
Diffstat (limited to 'build/config/operation.cxx')
-rw-r--r-- | build/config/operation.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
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<const list_value&> ()) { + 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<const list_value&> ()) { + if (n.pair != '\0') + continue; // Skip project names. + // Create and bootstrap subproject's root scope. // dir_path out_nroot (out_root / n.dir); |