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/context.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build/context.cxx') diff --git a/build/context.cxx b/build/context.cxx index dce6967..32c9e9b 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -38,6 +38,10 @@ namespace build scopes.clear (); variable_pool.clear (); + // Enter builtin variables. + // + variable_pool.insert (variable ("subprojects", '=')); + // Create global scope. For Win32 we use the empty path since there // is no "real" root path. On POSIX, however, this is a real path. // See the comment in for details. -- cgit v1.1