ENH: Added object file dependency scanning.

This commit is contained in:
Brad King
2004-10-26 12:53:51 -04:00
parent 163919a569
commit 1a4037c15a
2 changed files with 181 additions and 4 deletions
+7
View File
@@ -46,6 +46,10 @@ public:
* makefiles. This is done by a direct invocation from make.
*/
virtual void Generate(bool fromTheTop);
/** Called from command-line hook to scan dependencies. */
static bool ScanDependencies(std::vector<std::string> const& args);
protected:
void GenerateMakefile();
@@ -57,6 +61,9 @@ protected:
std::string GetTargetDirectory(const cmTarget& target);
std::string GetObjectFileName(const cmSourceFile& source);
static bool ScanDependenciesC(const char* objFile, const char* srcFile,
std::vector<std::string> const& includes);
private:
};