aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-22 13:10:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-22 13:10:08 +0200
commit7d137fd6a9ceb54574481082e9944de168b06b78 (patch)
tree973e78cd6cf64ca53b50f5dbc026449e945cdaeb /libbuild2/config/operation.cxx
parent7b9c113d52bbcecf45c9407e4ee30ee559418cb2 (diff)
Add $integer_sequence(<begin>, <end>[, <step>]) function
It returns the list of uint64 integers starting from <begin> (including) to <end> (excluding) with the specified <step> or 1 if unspecified. For example: hdr = foo.hxx bar.hxx baz.hxx src = foo.cxx bar.cxx baz.cxx assert ($size($hdr) == $size($src)) "hdr and src expected to be parallel" for i: $integer_sequence(0, $size($hdr)) { h = ($hdr[$i]) s = ($src[$i]) ... }
Diffstat (limited to 'libbuild2/config/operation.cxx')
0 files changed, 0 insertions, 0 deletions