root_global_vars.jinja 446 B

12345678910111213
  1. {% include '[generator]/disclaimer.jinja' -%}
  2. {% set platforms_count = platform_names|length -%}
  3. {% if platforms_count > 0 -%}
  4. {% for i in range(platforms_count) %}
  5. {% if i != 0 %}else{% endif %}if ({{ platforms[platform_names[i]] }})
  6. {%- for var in platform_vars[i] %}
  7. set({% for arg in var %}{{arg}}{% if not loop.last %} {% endif %}{% endfor %})
  8. {%- endfor %}
  9. {%- endfor %}
  10. endif()
  11. {% endif %}