summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-12 14:49:56 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-12 14:49:56 (GMT)
commitcaf17c123b79bd079408258a1ba13bdcd2105e59 (patch)
treee0350c8152c69f400991099925887169bf13a455 /Source/cmGlobalUnixMakefileGenerator3.cxx
parente1c9730a0107c0c4af946afa25525c9de9dcd33b (diff)
downloadCMake-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.cxx5
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;