summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTarget.cxx')
-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 "