diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 7ef972308..18302ec5e 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -527,6 +527,13 @@ void cmTarget::DefineProperties(cmake *cm) "A target property that can be set to override the suffix " "(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.",