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/test/script/script.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/test/script/script.hxx') diff --git a/build2/test/script/script.hxx b/build2/test/script/script.hxx index 479001b..4da9d97 100644 --- a/build2/test/script/script.hxx +++ b/build2/test/script/script.hxx @@ -536,8 +536,9 @@ namespace build2 script& operator= (const script&) = delete; public: - const target& test_target; // Target we are testing. - const testscript& script_target; // Target of the testscript file. + const target& test_target; // Target we are testing. + const build2::scope& target_scope; // Base scope of test target. + const testscript& script_target; // Target of the testscript file. // Pre-parse data. // -- cgit v1.1