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/name/pattern.testscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/name') diff --git a/tests/name/pattern.testscript b/tests/name/pattern.testscript index 1c9d6f5..07ff863 100644 --- a/tests/name/pattern.testscript +++ b/tests/name/pattern.testscript @@ -45,19 +45,19 @@ EOI : simple : $* <'print {*.txt +foo file{bar}}' 2>>EOE != 0 - :1:19: error: name pattern inclusion or exclusion expected + :1:19: error: expected name pattern inclusion or exclusion EOE : inclusion-exclusion-sign : $* <'print {*.txt -foo bar}' 2>>EOE != 0 - :1:19: error: name pattern inclusion or exclusion expected + :1:19: error: expected name pattern inclusion or exclusion EOE : inclusion-quoted : $* <'print {*.txt -foo "+bar"}' 2>>EOE != 0 - :1:19: error: name pattern inclusion or exclusion expected + :1:19: error: expected name pattern inclusion or exclusion EOE : empty-inclusion-exclusion -- cgit v1.1