From b611e797ad9db9794f4d151f454fa731d12b0bd3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Nov 2018 13:08:29 +0200 Subject: Fallback to loading outer buildfile if there isn't one in src_base This covers the case where the target is defined in the outer buildfile which is common with non-intrusive project conversions where everything is built from a single root buildfile. --- build2/file.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build2/file.hxx') diff --git a/build2/file.hxx b/build2/file.hxx index 9f93365..a56a61f 100644 --- a/build2/file.hxx +++ b/build2/file.hxx @@ -35,6 +35,8 @@ namespace build2 extern const path export_file; // build/export.build extern const path config_file; // build/config.build + extern const path buildfile_file; // buildfile + bool is_src_root (const dir_path&); -- cgit v1.1