diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-07-11 13:55:27 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-07-11 13:55:27 (GMT) |
commit | f1dfa7e78f5bceb57b9952769f0611edb10a0556 (patch) | |
tree | d7798f9e54d67bbe87ac72a91ac865ec4dd7e92a /Source/cmMakefileTargetGenerator.h | |
parent | 5604a14d7d26defb18a4369a63ee8ab4c15d078d (diff) | |
download | CMake-f1dfa7e78f5bceb57b9952769f0611edb10a0556.zip CMake-f1dfa7e78f5bceb57b9952769f0611edb10a0556.tar.gz CMake-f1dfa7e78f5bceb57b9952769f0611edb10a0556.tar.bz2 |
BUG: changed to progress to make it more flexible and to no relink targets as often
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index a624305..9c615c4 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -50,6 +50,17 @@ 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;} + + const char *GetTargetName() { return this->TargetName.c_str(); } + protected: // create the file and directory etc @@ -115,6 +126,13 @@ protected: std::string BuildFileName; std::string BuildFileNameFull; + // the full path to the progress file + std::string ProgressFileName; + std::string ProgressFileNameFull; + // the stream for the build file + cmGeneratedFileStream *ProgressFileStream; + unsigned long NumberOfProgressActions; + // the path to the directory the build file is in std::string TargetBuildDirectory; std::string TargetBuildDirectoryFull; |