ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion

This commit is contained in:
Bill Hoffman
2006-11-29 15:59:16 -05:00
parent 46f8ed0648
commit ccb77b65c6
11 changed files with 34 additions and 76 deletions

View File

@@ -23,6 +23,7 @@
#include "cmMakefileTargetGenerator.h"
#include "cmSourceFile.h"
#include "cmake.h"
#include "cmVersion.h"
// Include dependency scanners for supported languages. Only the
// C/C++ scanner is needed for bootstrapping CMake.
@@ -1728,8 +1729,8 @@ void cmLocalUnixMakefileGenerator3::WriteDisclaimer(std::ostream& os)
<< "# CMAKE generated file: DO NOT EDIT!\n"
<< "# Generated by \"" << this->GlobalGenerator->GetName() << "\""
<< " Generator, CMake Version "
<< cmMakefile::GetMajorVersion() << "."
<< cmMakefile::GetMinorVersion() << "\n\n";
<< cmVersion::GetMajorVersion() << "."
<< cmVersion::GetMinorVersion() << "\n\n";
}
//----------------------------------------------------------------------------