summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTargetPropertiesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
commita02574158d178615cf8fd642695e5099b6041049 (patch)
treedf9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmSetTargetPropertiesCommand.h
parentdec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff)
downloadCMake-a02574158d178615cf8fd642695e5099b6041049.zip
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmSetTargetPropertiesCommand.h')
-rw-r--r--Source/cmSetTargetPropertiesCommand.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/Source/cmSetTargetPropertiesCommand.h b/Source/cmSetTargetPropertiesCommand.h
index 37a1bfc..28c9677 100644
--- a/Source/cmSetTargetPropertiesCommand.h
+++ b/Source/cmSetTargetPropertiesCommand.h
@@ -44,7 +44,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Set attributes for a specific list of files.";
+ return "Targets can have properties that affect how they are built.";
}
/**
@@ -53,13 +53,21 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "SET_TARGET_PROPERTIES(target1 target2 .. filen PROPERTIES prop1 value1 prop2 value2 ... prop2 valuen)"
- "Set properties on a target. The syntax for the command is to list all the files you want "
- "to change, and then provide the values you want to set next. Properties that cmake knows about are PREFIX and SUFFIX for Unix systems and libraries. CMake also knows about LINK_FLAGS, which can be used to add extra flags to the link step of a target."
- "DEFINE_SYMBOL is a symbol that is defined when compiling C or C++ sources. "
+ " SET_TARGET_PROPERTIES(target1 target2 ...\n"
+ " PROPERTIES prop1 value1\n"
+ " prop2 value2 ...)\n"
+ "Set properties on a target. The syntax for the command is to "
+ "list all the files you want "
+ "to change, and then provide the values you want to set next. "
+ "Properties that cmake knows about are PREFIX and SUFFIX for Unix "
+ "systems and libraries. CMake also knows about LINK_FLAGS, which "
+ "can be used to add extra flags to the link step of a target."
+ "DEFINE_SYMBOL is a symbol that is defined when compiling C or C++ "
+ "sources. "
"If not set here then it is set to target_EXPORTS by default "
"(with some substitutions if target is not a valid C identifier). "
- "You can use and prop value pair you want and extract it later with the GET_TARGET_PROPERTY command.";
+ "You can use and prop value pair you want and extract it later with "
+ "the GET_TARGET_PROPERTY command.";
}
cmTypeMacro(cmSetTargetPropertiesCommand, cmCommand);