summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-10 13:50:21 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-10 13:50:21 (GMT)
commit13f9bb646d5ce506efb8fc2d36b6f9ce2268fb2e (patch)
tree866ed661c1db4761cfe82e65a84ef7ebd8588c12 /Source/cmTarget.cxx
parentd0ed46e3d66beead514ee8d95789b5ee56151812 (diff)
downloadCMake-13f9bb646d5ce506efb8fc2d36b6f9ce2268fb2e.zip
CMake-13f9bb646d5ce506efb8fc2d36b6f9ce2268fb2e.tar.gz
CMake-13f9bb646d5ce506efb8fc2d36b6f9ce2268fb2e.tar.bz2
ENH: Define target and source property LABELS
This creates a new LABELS property for targets and source files. We write the labels of each target and its source files in target-specific locations in the build tree for future use.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 18a7c50..f07d143 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -351,6 +351,11 @@ void cmTarget::DefineProperties(cmake *cm)
"project to the INSTALL_RPATH. ");
cm->DefineProperty
+ ("LABELS", cmProperty::TARGET,
+ "Specify a list of text labels associated with a target.",
+ "Target label semantics are currently unspecified.");
+
+ cm->DefineProperty
("LINK_FLAGS", cmProperty::TARGET,
"Additional flags to use when linking this target.",
"The LINK_FLAGS property can be used to add extra flags to the "