summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.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/cmSourceFile.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/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index 09cce70..6fe1024 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -477,6 +477,13 @@ void cmSourceFile::DefineProperties(cmake *cm)
"of the source file, for example .cxx will go to a .o extension.");
cm->DefineProperty
+ ("LABELS", cmProperty::SOURCE_FILE,
+ "Specify a list of text labels associated with a source file.",
+ "This property has meaning only when the source file is listed in "
+ "a target whose LABELS property is also set. "
+ "No other semantics are currently specified.");
+
+ cm->DefineProperty
("LANGUAGE", cmProperty::SOURCE_FILE,
"What programming language is the file.",
"A property that can be set to indicate what programming language "