aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/cmake/dir_macroses.jinja
blob: d764580acba5dcf2b6b631a4ae7d6e8863c348d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{%- if dir_macroses|length -%}
{%-     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 -%}