summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorJames Touton <bekenn@gmail.com>2016-06-03 18:51:18 -0700
committerBrad King <brad.king@kitware.com>2016-06-17 10:49:06 -0400
commit811f6c825271320259ed0ccdbe3c2d577ccbdcd4 (patch)
tree55e2b36a00e567ef6219d916182eea06888b7a05 /Help
parentef494edf766d622f87b82e601bf6ef7405bf29d0 (diff)
downloadcmake-811f6c825271320259ed0ccdbe3c2d577ccbdcd4.tar.gz
Xcode: Add XCODE_FILE_ATTRIBUTES source file property
This adds values to the ATTRIBUTES list in PBXBuildFile settings.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-properties.7.rst1
-rw-r--r--Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst11
2 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
index 3403dcd86e..1c64d63638 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -344,6 +344,7 @@ Properties on Source Files
/prop_sf/VS_XAML_TYPE
/prop_sf/WRAP_EXCLUDE
/prop_sf/XCODE_EXPLICIT_FILE_TYPE
+ /prop_sf/XCODE_FILE_ATTRIBUTES
/prop_sf/XCODE_LAST_KNOWN_FILE_TYPE
.. _`Cache Entry Properties`:
diff --git a/Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst b/Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst
new file mode 100644
index 0000000000..39e69665a5
--- /dev/null
+++ b/Help/prop_sf/XCODE_FILE_ATTRIBUTES.rst
@@ -0,0 +1,11 @@
+XCODE_FILE_ATTRIBUTES
+---------------------
+
+Add values to the Xcode ``ATTRIBUTES`` setting on its reference to a
+source file. Among other things, this can be used to set the role on
+a mig file::
+
+ set_source_files_properties(defs.mig
+ PROPERTIES
+ XCODE_FILE_ATTRIBUTES "Client;Server"
+ )