summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-25 13:58:51 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-25 13:58:51 (GMT)
commitcd83f1979da5c2ed39e5824de70f2d84b8b1a4cc (patch)
tree4a19dcf2aa834fd8bfe4629dce874c17c4e05dca /Source/cmMakefileTargetGenerator.h
parentb9a98ef65b2c586d593219256a05a09c71216eee (diff)
downloadCMake-cd83f1979da5c2ed39e5824de70f2d84b8b1a4cc.zip
CMake-cd83f1979da5c2ed39e5824de70f2d84b8b1a4cc.tar.gz
CMake-cd83f1979da5c2ed39e5824de70f2d84b8b1a4cc.tar.bz2
ENH: Cleanup make progress rule generation code
This cleans up the Makefile generator's progress rule code. Instead of keeping every cmMakefileTargetGenerator instance alive to generate progress, we keep only the information necessary in a single table. This approach keeps most of the code in cmGlobalUnixMakefileGenerator3, thus simplifying its public interface.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index 0c0d21d..815dc8d 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -47,14 +47,11 @@ public:
with this target */
virtual void WriteRuleFiles() = 0;
- /* the main entry point for this class. Writes the Makefiles associated
- with this target */
- virtual void WriteProgressVariables(unsigned long total,
- unsigned long &current);
-
/* return the number of actions that have progress reporting on them */
virtual unsigned long GetNumberOfProgressActions() {
return this->NumberOfProgressActions;}
+ std::string GetProgressFileNameFull()
+ { return this->ProgressFileNameFull; }
cmTarget* GetTarget() { return this->Target;}
protected:
@@ -167,7 +164,6 @@ protected:
std::string BuildFileNameFull;
// the full path to the progress file
- std::string ProgressFileName;
std::string ProgressFileNameFull;
unsigned long NumberOfProgressActions;
bool NoRuleMessages;