summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-09-10 14:22:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-09-10 14:22:19 (GMT)
commitf2ac53bb10889ea27c511634512414bb31cfb4ea (patch)
tree4e6c342fc9550908f84036a84ed2335415cb4197 /Source/cmTarget.cxx
parent5dade94eeca771b333465d17ebeb3ec54dfe15c7 (diff)
downloadCMake-f2ac53bb10889ea27c511634512414bb31cfb4ea.zip
CMake-f2ac53bb10889ea27c511634512414bb31cfb4ea.tar.gz
CMake-f2ac53bb10889ea27c511634512414bb31cfb4ea.tar.bz2
ENH: Added XCODE_ATTRIBUTE_<an-attribute> property to allow direct setting of Xcode target attributes in generated projects. For example, one may set the prefix header property and the corresponding precompiled option to do precompiled headers.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 1f3250b..0a2cda4 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -277,6 +277,12 @@ void cmTarget::DefineProperties(cmake *cm)
"All Windows-based systems including Cygwin are DLL platforms.");
cm->DefineProperty
+ ("XCODE_ATTRIBUTE_<an-attribute>", cmProperty::TARGET,
+ "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.");
+
+ cm->DefineProperty
("GENERATOR_FILE_NAME", cmProperty::TARGET,
"Generator's file for this target.",
"An internal property used by some generators to record the name of "