1CMAKE_XCODE_ATTRIBUTE_<an-attribute> 2------------------------------------ 3 4.. versionadded:: 3.1 5 6Set Xcode target attributes directly. 7 8Tell the :generator:`Xcode` generator to set ``<an-attribute>`` to a given 9value in the generated Xcode project. Ignored on other generators. 10 11This offers low-level control over the generated Xcode project file. 12It is meant as a last resort for specifying settings that CMake does 13not otherwise have a way to control. Although this can override a 14setting CMake normally produces on its own, doing so bypasses CMake's 15model of the project and can break things. 16 17See the :prop_tgt:`XCODE_ATTRIBUTE_<an-attribute>` target property 18to set attributes on a specific target. 19 20Contents of ``CMAKE_XCODE_ATTRIBUTE_<an-attribute>`` may use 21"generator expressions" with the syntax ``$<...>``. See the 22:manual:`cmake-generator-expressions(7)` manual for available 23expressions. See the :manual:`cmake-buildsystem(7)` manual 24for more on defining buildsystem properties. 25