How are dependencies specified for link steps with batchcmds? #2826
-
Several of the examples have something like this:
None of these have documentation, even in the form of useful code comments in the implementation. My guess as to the meanings is:
For some reason, I have two rules with custom link steps that are trying to use this mechanism. One of them runs only if one of the source files is modified, the other runs unconditionally. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
right
set the depend file
Only the os.runv/os.cp command will be executed immediately |
Beta Was this translation helpful? Give feedback.
right
set the depend file
*.d
path, it will use a tmpfile if we did not set it.batchcmds:runv()
,batchcmds:mkdir()
andbatchcmds:cp()
are just generate a command list, they will be called at the right time, but not now.Only the os.runv/os.cp command will be exe…