Custom Query (100 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 100)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#72 fixed kmk: Add .RETURN and .ARGC to $(evalcall ) and $(evalcall2 ) for creating functions bird bird
Description

To create more complicated functions without also creating an unreadable mess, it's necessary to make $(evalcall[2] ) be able to return a value. This is implemented using a local variable .RETURN, the function body assigns the desired return value to this variable.

Example:

define POP
local words := $(words $($1))
local .RETURN := $(word $(words), $($1))
$1 := $(wordlist 1, $(expr $(words) - 1), $($1))
endef

stack-var = a b c d
d-element := $(evalcall POP,stack-var)

In addition, it's very useful to have some way of getting at the argument count without evaluating all the possibilities. For this purposed .ARGC was added. It is also applied to $(call ).

#65 fixed kmk: Add --print-time[=min-sec] bird bird
Description

Per target stopwatch for tracking down build time regressions. When --print-time isn't given a value, it will show the elapsed time of all commands.

#81 fixed kmk: Add $(not-root names...) bird bird
Description

Inverted $(root ).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.