summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-10-02 22:48:06 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-10-02 22:48:06 (GMT)
commitfc7a017d1a2fb7556fb177c066108d450f0300c2 (patch)
tree28c65582bd324254581c6683d018eedaf024c019
parent600470e5ca9e7a4041f173b8e91d777cd72c6166 (diff)
downloadCMake-fc7a017d1a2fb7556fb177c066108d450f0300c2.zip
CMake-fc7a017d1a2fb7556fb177c066108d450f0300c2.tar.gz
CMake-fc7a017d1a2fb7556fb177c066108d450f0300c2.tar.bz2
STYLE: add documentation for the "TYPE" target property
Alex
-rw-r--r--Source/cmTarget.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 7ef9723..18302ec 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -528,6 +528,13 @@ void cmTarget::DefineProperties(cmake *cm)
"(such as \".so\") on a library name.");
cm->DefineProperty
+ ("TYPE", cmProperty::TARGET,
+ "The type of the target.",
+ "This read-only property can be used to test the type of the given "
+ "target. It will be one of STATIC_LIBRARY, MODULE_LIBRARY, "
+ "SHARED_LIBRARY, EXECUTABLE or one of the internal target types.");
+
+ cm->DefineProperty
("VERSION", cmProperty::TARGET,
"What version number is this target.",
"For shared libraries VERSION and SOVERSION can be used to specify "