From fc7a017d1a2fb7556fb177c066108d450f0300c2 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 2 Oct 2008 18:48:06 -0400 Subject: [PATCH] STYLE: add documentation for the "TYPE" target property Alex --- Source/cmTarget.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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.",