From 1845141809aa91b03718066a6f46863885a6a887 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Mar 2019 09:06:37 +0200 Subject: Add support for alternative build file/directory naming scheme Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc). --- build2/dist/operation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/dist/operation.cxx') diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 75a5793..b227bbd 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -220,7 +220,7 @@ namespace build2 } }; - add_adhoc (*rs, export_file); + add_adhoc (*rs, rs->root_extra->export_file); // The same for subprojects that have been loaded. // @@ -238,7 +238,7 @@ namespace build2 if (!nrs.src_path ().sub (src_root)) // Not a strong amalgamation. continue; - add_adhoc (nrs, export_file); + add_adhoc (nrs, nrs.root_extra->export_file); } } -- cgit v1.1