mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only use cmVersion
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user