From a14daf38475a414e462708d9b0f4d651e5119b58 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Nov 2018 11:03:37 +0200 Subject: Add support for target and prerequisite specific variable blocks For example, now instead of: lib{foo}: cxx.loptions += -static lib{foo}: cxx.libs += -lpthread We can write: lib{foo}: { cxx.loptions += -static cxx.libs += -lpthread } The same works for prerequisites as well as target type/patterns. For example: exe{*.test}: { test = true install = false } --- tests/variable/scope-specific/testscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/variable/scope-specific/testscript') diff --git a/tests/variable/scope-specific/testscript b/tests/variable/scope-specific/testscript index 5f9a05d..13e7eca 100644 --- a/tests/variable/scope-specific/testscript +++ b/tests/variable/scope-specific/testscript @@ -42,7 +42,7 @@ EOO $* <>EOE != 0 foo/ [uint64] y EOI -:1:16: error: variable assignment expected instead of +:1:16: error: expected variable assignment instead of EOE : unexpected-attribute -- cgit v1.1