aboutsummaryrefslogtreecommitdiff
path: root/build/utility
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-30 14:31:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-30 14:36:18 +0200
commitb2374e3174e13682fcfa3ffe3fc62f2fd161a7cc (patch)
treebd39bda41e2ee352b73d80b84153ba95b80e84c4 /build/utility
parent1fb88fce9681e88f4140457cfe00a998d9c2588d (diff)
Implement target type/pattern-specific variables
For example: cxx{*-options}: dist = true 1. Only single '*' wildcard is supported, matches 0 or more characters. 2. If target type is not specified, it defaults to any target. 3. Appending (+=) is not allowed. 4. The value is expanded immediately in the context of the scope. 5. The more specific pattern (i.e., with the shortest "stem") is preferred. If the stem has the same length, then the last defined (but not redefined) pattern is used. This will probably have to change to become an error. See tests/variable/type-pattern for more examples.
Diffstat (limited to 'build/utility')
0 files changed, 0 insertions, 0 deletions