summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-07-11 13:55:27 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-07-11 13:55:27 (GMT)
commitf1dfa7e78f5bceb57b9952769f0611edb10a0556 (patch)
treed7798f9e54d67bbe87ac72a91ac865ec4dd7e92a /Source/cmMakefileTargetGenerator.h
parent5604a14d7d26defb18a4369a63ee8ab4c15d078d (diff)
downloadCMake-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.h18
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 &current);
+
+ /* 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;