summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
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;