root_global_vars.jinja 723 B

123456789101112131415161718
  1. {% include '[generator]/disclaimer.jinja' -%}
  2. {% if platform_names|length -%}
  3. {%- for platform_name in platform_names %}
  4. {% if not loop.first %}else{% endif %}if ({{ platform_conditions[platform_name] }})
  5. {%- if platform_attrs[platform_name].platform_vars is defined -%}
  6. {%- set platform_vars = platform_attrs[platform_name].platform_vars -%}
  7. {%- set platform_var_names = keys(platform_vars) -%}
  8. {% for platform_var_name in platform_var_names %}
  9. set({{ platform_var_name }} {{ platform_vars[platform_var_name] }})
  10. {%- endfor -%}
  11. {%- endif -%}
  12. {%- endfor %}
  13. endif()
  14. {% endif %}
  15. {%- include "[generator]/debug.jinja" ignore missing -%}