From 4177d70e63893d0a2c76beb9166ebbf79c4697a0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 Aug 2019 15:38:23 +0200 Subject: Add support for for_install prerequisite-specific var in link rule Also reserve for_test. --- libbuild2/test/init.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/test') diff --git a/libbuild2/test/init.cxx b/libbuild2/test/init.cxx index 923f047..5681b37 100644 --- a/libbuild2/test/init.cxx +++ b/libbuild2/test/init.cxx @@ -97,6 +97,10 @@ namespace build2 vp.insert ("test.target", variable_visibility::project) }; + // This one is used by other modules/rules. + // + vp.insert ("for_test", variable_visibility::prereq); + // These are only used in testscript. // vp.insert ("test.redirects", variable_visibility::project); -- cgit v1.1