STYLE: add documentation for the "TYPE" target property

Alex
This commit is contained in:
Alexander Neundorf 2008-10-02 18:48:06 -04:00
parent 600470e5ca
commit fc7a017d1a
1 changed files with 7 additions and 0 deletions

View File

@ -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.",