aboutsummaryrefslogtreecommitdiff
path: root/build2/file.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-06 15:59:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-06 15:59:36 +0200
commit86f59ed0ab4236deef4e56035140ff5c97cfa6b2 (patch)
treebfdea2b93bb237863282e15a6c23b341083303a0 /build2/file.cxx
parent3944dea331b1d5840e45abcbea0572ddcdf80332 (diff)
Don't search for subprojects recursively, only at top-level
Diffstat (limited to 'build2/file.cxx')
-rw-r--r--build2/file.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/build2/file.cxx b/build2/file.cxx
index 46362e1..bf1c4d8 100644
--- a/build2/file.cxx
+++ b/build2/file.cxx
@@ -400,7 +400,13 @@ namespace build2
bool src (false);
if (!((out && is_out_root (sd)) || (src = is_src_root (sd))))
{
- find_subprojects (sps, sd, root, out);
+ // We used to scan for subproject recursively but this is probably too
+ // loose (think of some tests laying around). In the future we should
+ // probably allow specifying something like extra/* or extra/** in
+ // subprojects.
+ //
+ //find_subprojects (sps, sd, root, out);
+ //
continue;
}