BUG: Remove old get_target_property docs

The get_target_property command contained some outdated documentation of
the LOCATION and TYPE properties.  This removes it since they are now
documented in the properties list section of the documentation.
This commit is contained in:
Brad King 2009-01-05 09:53:22 -05:00
parent d7ddcc214f
commit 024aa044de
1 changed files with 1 additions and 15 deletions

View File

@ -58,21 +58,7 @@ public:
"stored in the variable VAR. If the property is not found, VAR "
"will be set to \"NOTFOUND\". Use set_target_properties to set "
"property values. Properties are usually used to control how "
"a target is built.\n"
"The read-only property \"<CONFIG>_LOCATION\" provides the full "
"path to the file on disk that will be created for the target when "
"building under configuration <CONFIG> "
"(in upper-case, such as \"DEBUG_LOCATION\"). "
"The read-only property \"LOCATION\" specifies "
"the full path to the file on disk that will be created for the "
"target. The path may contain a build-system-specific portion that "
"is replaced at build time with the configuration getting built "
"(such as \"$(ConfigurationName)\" in VS). "
"This is very useful for executable targets to get "
"the path to the executable file for use in a custom command.\n"
"The read-only property \"TYPE\" returns which type the specified "
"target has (EXECUTABLE, STATIC_LIBRARY, SHARED_LIBRARY, "
"MODULE_LIBRARY, UTILITY, INSTALL_FILES or INSTALL_PROGRAMS). "
"a target is built, but some query the target instead. "
"This command can get properties for any target so far created. "
"The targets do not need to be in the current CMakeLists.txt file.";
}