summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-23 13:11:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-23 13:11:46 (GMT)
commit50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef (patch)
tree980f4a317110d0903d24e45486a840790833972f /Source/cmGlobalUnixMakefileGenerator3.h
parent4a2d72d313a0ee9463a6baac7a10ed6610159e38 (diff)
downloadCMake-50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef.zip
CMake-50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef.tar.gz
CMake-50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef.tar.bz2
ENH: always compile progress
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 1b7733d..1cce9a8 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -123,6 +123,15 @@ public:
const char *targetName,
const char* config, bool ignoreErrors);
+ // returns true if a progress rule should be added
+ int ShouldAddProgressRule();
+ int GetNumberOfSourceFiles() {return this->NumberOfSourceFiles; }
+ int GetNumberOfCompilableSourceFilesForTarget(cmTarget &tgt);
+ int GetTargetTotalNumberOfSourceFiles(cmTarget& target);
+
+ // what targets does the specified target depend on
+ std::vector<cmTarget *>& GetTargetDepends(cmTarget& target);
+
protected:
void WriteMainMakefile2();
void WriteMainCMakefile();
@@ -173,6 +182,12 @@ protected:
typedef std::map<cmStdString, cmStdString> MultipleOutputPairsType;
MultipleOutputPairsType MultipleOutputPairs;
+
+ size_t NumberOfSourceFiles;
+ size_t NumberOfSourceFilesWritten;
+
+ std::map<cmStdString, std::vector<cmTarget *> > TargetDependencies;
+ std::map<cmStdString, int > TargetSourceFileCount;
};
#endif