blob: 677b84d1659af8e9ac4ea19d0659d73669c7b7d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{%- if current_target.target_commands is defined -%}
{%- for target_command in current_target.target_commands %}
{{ target_command.macro }}(
{%- if target_command.args|length -%}
{%- for arg in target_command.args %}
{{ arg }}
{%- endfor -%}
{%- endif %}
{%- if target_command.args_escaped|length %}
"
{%- for arg_escaped in target_command.args_escaped -%}
{{ arg_escaped|replace('\\', '\\\\')|replace('"', '\\"')|replace(';', '\\;') }}
{%- if not loop.last -%};{%- endif -%}
{%- endfor -%}
"
{%- endif %}
)
{% endfor -%}
{%- endif -%}
|