From 86f59ed0ab4236deef4e56035140ff5c97cfa6b2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Sep 2016 15:59:36 +0200 Subject: Don't search for subprojects recursively, only at top-level --- build2/file.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build2/file.cxx') 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; } -- cgit v1.1