diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-01 21:21:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-10-01 21:21:28 (GMT) |
commit | f9687e328f7ea64ea6384aae11af36fdd3a12643 (patch) | |
tree | 91e2555b44011705d3188f11d7b7598f29c0ba7b /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | 3c7354c1cd9fb081df8b3f4faef5160ea83f584f (diff) | |
download | CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.zip CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.gz CMake-f9687e328f7ea64ea6384aae11af36fdd3a12643.tar.bz2 |
Merge in changes to CMake-2-8 RC 2
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index d21b3e8..401888f 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -1,19 +1,14 @@ -/*========================================================================= +/*============================================================================ + CMake - Cross Platform Makefile Generator + Copyright 2000-2009 Kitware, Inc., Insight Software Consortium - Program: CMake - Cross-Platform Makefile Generator3 - Module: $RCSfile$ - Language: C++ - Date: $Date$ - Version: $Revision$ + Distributed under the OSI-approved BSD License (the "License"); + see accompanying file Copyright.txt for details. - Copyright (c) 2005 Kitware, Inc., Insight Consortium. All rights reserved. - See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ + This software is distributed WITHOUT ANY WARRANTY; without even the + implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the License for more information. +============================================================================*/ #ifndef cmGlobalUnixMakefileGenerator3_h #define cmGlobalUnixMakefileGenerator3_h @@ -185,7 +180,9 @@ protected: std::vector<int> Marks; void WriteProgressVariables(unsigned long total, unsigned long& current); }; - typedef std::map<cmStdString, TargetProgress> ProgressMapType; + struct ProgressMapCompare { bool operator()(cmTarget*,cmTarget*) const; }; + typedef std::map<cmTarget*, TargetProgress, + ProgressMapCompare> ProgressMapType; ProgressMapType ProgressMap; size_t CountProgressMarksInTarget(cmTarget* target, |