diff options
author | Brad King <brad.king@kitware.com> | 2009-06-25 13:58:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-25 13:58:51 (GMT) |
commit | cd83f1979da5c2ed39e5824de70f2d84b8b1a4cc (patch) | |
tree | 4a19dcf2aa834fd8bfe4629dce874c17c4e05dca /Source/cmMakefileTargetGenerator.h | |
parent | b9a98ef65b2c586d593219256a05a09c71216eee (diff) | |
download | CMake-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.h | 8 |
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 ¤t); - /* 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; |