diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-06-11 15:01:16 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-06-11 15:01:16 (GMT) |
commit | 06047d14bba66a43dade158cdb133d5106b07e92 (patch) | |
tree | 3f15e075edf57671b898a49eed299efa0aa20ff8 /Source/cmUnixMakefileGenerator.cxx | |
parent | 8f89fe11c7e87a4a95823c5c07f1ec92dc9bf5fd (diff) | |
download | CMake-06047d14bba66a43dade158cdb133d5106b07e92.zip CMake-06047d14bba66a43dade158cdb133d5106b07e92.tar.gz CMake-06047d14bba66a43dade158cdb133d5106b07e92.tar.bz2 |
ENH: don't use short paths in the output
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 0767abb..0245038 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -1356,6 +1356,7 @@ bool cmUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout) // by the class cmMakeDepend GenerateMakefile void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout) { + std::set<std::string> emittedShortPath; std::set<std::string> emitted; // Iterate over every target. std::map<cmStdString, cmTarget>& targets = m_Makefile->GetTargets(); @@ -1393,8 +1394,9 @@ void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout) { shortpath = dependfile; } - if(emitted.insert(shortpath).second) + if(emittedShortPath.insert(shortpath).second) { + emitted.insert(dependfile); fout << " \\\n" << dependfile ; } } |