summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-17 14:32:19 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-17 14:32:19 (GMT)
commitc3a2f78b5a322bd14123cb301dc62dc3b58073b5 (patch)
treed9a6399c952ffb25895927c9db38612b654db631 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent2e0611f981f17889cb701db2ffd9436c771bb7e1 (diff)
downloadCMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.zip
CMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.tar.gz
CMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.tar.bz2
Makefiles: Remove duplicate code.
The cmGlobalUnixMakefileGenerator3::ProgressMapCompare struct is logically equivalent to cmStrictTargetComparison.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index e37ee10..3aa293e 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -958,21 +958,6 @@ cmGlobalUnixMakefileGenerator3::RecordTargetProgress(
}
//----------------------------------------------------------------------------
-bool
-cmGlobalUnixMakefileGenerator3::ProgressMapCompare
-::operator()(cmTarget const* l, cmTarget const* r) const
-{
- // Order by target name.
- if(int c = strcmp(l->GetName().c_str(), r->GetName().c_str()))
- {
- return c < 0;
- }
- // Order duplicate targets by binary directory.
- return strcmp(l->GetMakefile()->GetCurrentOutputDirectory(),
- r->GetMakefile()->GetCurrentOutputDirectory()) < 0;
-}
-
-//----------------------------------------------------------------------------
void
cmGlobalUnixMakefileGenerator3::TargetProgress
::WriteProgressVariables(unsigned long total, unsigned long &current)