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/directive/run.testscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/directive') diff --git a/tests/directive/run.testscript b/tests/directive/run.testscript index ba4a413..88ea909 100644 --- a/tests/directive/run.testscript +++ b/tests/directive/run.testscript @@ -32,6 +32,6 @@ EOE : cat <'print run' >=buildfile; $* <"run '$0' noop" 2>>"EOE" != 0 -:1:4: error: executable name expected after run +:1:4: error: expected executable name after run :1:5: info: while parsing $0 output EOE -- cgit v1.1