aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/cmake/target_properties.jinja
blob: e906c0008abc131905037942d83ec314d830a3ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{%  for property in current_target.properties -%}
set_property(TARGET {{ name }} PROPERTY {{ property.name }}
{%-     for value in property.value %}
  {{ value }}
{%-     endfor %}
)
{%  endfor -%}

{%- if (current_target.protoc_extra_outs is defined) and (current_target.protoc_extra_outs|length) -%}
set_property(TARGET {{ name }} PROPERTY PROTOC_EXTRA_OUTS
{%-     for protoc_extra_out in current_target.protoc_extra_outs %}
  {{ protoc_extra_out }}
{%-     endfor %}
)
{%  endif -%}