diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-12 14:49:56 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-12 14:49:56 (GMT) |
commit | caf17c123b79bd079408258a1ba13bdcd2105e59 (patch) | |
tree | e0350c8152c69f400991099925887169bf13a455 /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | e1c9730a0107c0c4af946afa25525c9de9dcd33b (diff) | |
download | CMake-caf17c123b79bd079408258a1ba13bdcd2105e59.zip CMake-caf17c123b79bd079408258a1ba13bdcd2105e59.tar.gz CMake-caf17c123b79bd079408258a1ba13bdcd2105e59.tar.bz2 |
ENH: added new generator
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index ae278e3..52838fd 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -187,6 +187,11 @@ void cmGlobalUnixMakefileGenerator3::WriteMainCMakefile() // Write the do not edit header. lg->WriteDisclaimer(cmakefileStream); + // Save the generator name + cmakefileStream + << "# The generator used is:\n" + << "SET(CMAKE_DEPENDS_GENERATOR \"" << this->GetName() << "\")\n\n"; + // for each cmMakefile get its list of dependencies unsigned int i; std::vector<std::string> lfiles; |