diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-23 13:11:46 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-23 13:11:46 (GMT) |
commit | 50d058a3a1ed4fbb1a1df29ae9979d8c9812ceef (patch) | |
tree | 980f4a317110d0903d24e45486a840790833972f /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | 4a2d72d313a0ee9463a6baac7a10ed6610159e38 (diff) | |
download | CMake-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.h | 15 |
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 |