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