aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/cmake/dir_macroses.jinja
blob: e52de0ce9253226a76fd181ab4abf43d1129b590 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{%- if dir_macroses is defined -%}
{%-     for dir_macros in dir_macroses -%}
{%-         if dir_macros.macro == "set_vars" -%}
{%-             for set_var in dir_macros.args %}
set({{ set_var|replace("=", ' ') }})
{%              endfor -%}
{%          else %}
{{ dir_macros.macro }}(
{%-             for arg in dir_macros.args %}
  {{ arg }}
{%-             endfor %}
)
{%          endif -%}
{%-     endfor -%}
{%- endif -%}