summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_XCODE_ATTRIBUTE_an-attribute.rst
blob: 90e4c0eacc355975bb3a09b02fdf00b53cd2c05d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CMAKE_XCODE_ATTRIBUTE_<an-attribute>
------------------------------------

.. versionadded:: 3.1

Set Xcode target attributes directly.

Tell the :generator:`Xcode` generator to set '<an-attribute>' to a given value
in the generated Xcode project.  Ignored on other generators.

See the :prop_tgt:`XCODE_ATTRIBUTE_<an-attribute>` target property
to set attributes on a specific target.

Contents of ``CMAKE_XCODE_ATTRIBUTE_<an-attribute>`` may use
"generator expressions" with the syntax ``$<...>``.  See the
:manual:`cmake-generator-expressions(7)` manual for available
expressions.  See the :manual:`cmake-buildsystem(7)` manual
for more on defining buildsystem properties.