1
0
Эх сурвалжийг харах

Merge topic 'doc-CMAKE_XCODE_ATTRIBUTE'

0ff69dd4 Help: Document CMAKE_XCODE_ATTRIBUTE_<an-attribute> variable (#15215)
Brad King 11 жил өмнө
parent
commit
6fe3ef26c6

+ 1 - 0
Help/manual/cmake-variables.7.rst

@@ -260,6 +260,7 @@ Variables that Control the Build
    /variable/CMAKE_USE_RELATIVE_PATHS
    /variable/CMAKE_VISIBILITY_INLINES_HIDDEN
    /variable/CMAKE_WIN32_EXECUTABLE
+   /variable/CMAKE_XCODE_ATTRIBUTE_an-attribute
    /variable/EXECUTABLE_OUTPUT_PATH
    /variable/LIBRARY_OUTPUT_PATH
 

+ 3 - 0
Help/prop_tgt/XCODE_ATTRIBUTE_an-attribute.rst

@@ -5,3 +5,6 @@ Set Xcode target attributes directly.
 
 Tell the Xcode generator to set '<an-attribute>' to a given value in
 the generated Xcode project.  Ignored on other generators.
+
+See the :variable:`CMAKE_XCODE_ATTRIBUTE_<an-attribute>` variable
+to set attributes on all targets in a directory tree.

+ 10 - 0
Help/variable/CMAKE_XCODE_ATTRIBUTE_an-attribute.rst

@@ -0,0 +1,10 @@
+CMAKE_XCODE_ATTRIBUTE_<an-attribute>
+------------------------------------
+
+Set Xcode target attributes directly.
+
+Tell the 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.