cmd
This field contains the command to be run when the output needs to be rebuilt. Will end up in Ninja’s “command” field for this rule.
Example:
rules:
- name: CC
cmd: "${CC} -c ${in} -o ${out}""
# ... other fields ...
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
This field contains the command to be run when the output needs to be rebuilt. Will end up in Ninja’s “command” field for this rule.
Example:
rules:
- name: CC
cmd: "${CC} -c ${in} -o ${out}""
# ... other fields ...