summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinePropertyCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-15 20:12:27 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-15 20:12:27 (GMT)
commit8fcde75e8879f0b793137d505d87f04d3d6e1f78 (patch)
tree2c9fafcbcbdfc851c7ac331eced8346670a19367 /Source/cmDefinePropertyCommand.cxx
parent0e85c8b6a17db11ebe5296daa87d0feb4a8e9f0b (diff)
downloadCMake-8fcde75e8879f0b793137d505d87f04d3d6e1f78.zip
CMake-8fcde75e8879f0b793137d505d87f04d3d6e1f78.tar.gz
CMake-8fcde75e8879f0b793137d505d87f04d3d6e1f78.tar.bz2
ENH: Simplify docs args for define_property
This teaches the define_property command signature to accept multiple arguments after the BRIEF_DOCS and FULL_DOCS keywords. We append the arguments together, making specification of long documentation easier.
Diffstat (limited to 'Source/cmDefinePropertyCommand.cxx')
-rw-r--r--Source/cmDefinePropertyCommand.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmDefinePropertyCommand.cxx b/Source/cmDefinePropertyCommand.cxx
index fbdefed..86143c7 100644
--- a/Source/cmDefinePropertyCommand.cxx
+++ b/Source/cmDefinePropertyCommand.cxx
@@ -98,13 +98,11 @@ bool cmDefinePropertyCommand
}
else if(doing == DoingBrief)
{
- doing = DoingNone;
- this->BriefDocs = args[i];
+ this->BriefDocs += args[i];
}
else if(doing == DoingFull)
{
- doing = DoingNone;
- this->FullDocs = args[i];
+ this->FullDocs += args[i];
}
else
{