ENH: always compile progress

This commit is contained in:
Ken Martin
2006-05-23 09:11:46 -04:00
parent 4a2d72d313
commit 50d058a3a1
8 changed files with 269 additions and 18 deletions

View File

@@ -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