summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-08 03:20:30 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-08 03:20:30 (GMT)
commited273acfa7884c0b9dddf480deec9a263f536c85 (patch)
tree2b460ff524f41e032d165ef75e92aaeb6323a9f1 /Source/cmDocumentation.cxx
parenteb7b7dc1046dbc9d60e12a16d2ae3242328f85c0 (diff)
downloadCMake-ed273acfa7884c0b9dddf480deec9a263f536c85.zip
CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.gz
CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.bz2
ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch).
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 390ab5b..21cde88 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -122,7 +122,7 @@ cmDocumentation::cmDocumentation()
//----------------------------------------------------------------------------
void cmDocumentation::PrintCopyright(std::ostream& os)
{
- os << "CMake version " CMake_VERSION_STRING "\n";
+ os << "CMake version " CMake_VERSION_FULL "\n";
for(const cmDocumentationEntry* op = cmDocumentationCopyright;
op->brief; ++op)
{
@@ -144,7 +144,7 @@ void cmDocumentation::PrintCopyright(std::ostream& os)
//----------------------------------------------------------------------------
void cmDocumentation::PrintVersion(std::ostream& os)
{
- os << "CMake version " CMake_VERSION_STRING "\n";
+ os << "CMake version " CMake_VERSION_FULL "\n";
}
//----------------------------------------------------------------------------
@@ -764,7 +764,7 @@ void cmDocumentation::PrintDocumentationMan(std::ostream& os)
this->CreateManDocumentation();
os << ".TH CMake 1 \""
<< cmSystemTools::GetCurrentDateTime("%B %d, %Y").c_str()
- << "\" \"CMake " CMake_VERSION_STRING "\"\n";
+ << "\" \"CMake " CMake_VERSION_FULL "\"\n";
this->Print(ManForm, os);
}