diff options
author | Brad King <brad.king@kitware.com> | 2004-10-26 16:53:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-10-26 16:53:51 (GMT) |
commit | 1a4037c15a8d0514aa3ce21687def2ce7b1a5572 (patch) | |
tree | 1676a55ad3a1f23dbbcaef005b8193dc2fe398c5 /Source/cmLocalUnixMakefileGenerator2.h | |
parent | 163919a569a436b57be64e43de09f702805b9647 (diff) | |
download | CMake-1a4037c15a8d0514aa3ce21687def2ce7b1a5572.zip CMake-1a4037c15a8d0514aa3ce21687def2ce7b1a5572.tar.gz CMake-1a4037c15a8d0514aa3ce21687def2ce7b1a5572.tar.bz2 |
ENH: Added object file dependency scanning.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h index 0fc9018..16013b2 100644 --- a/Source/cmLocalUnixMakefileGenerator2.h +++ b/Source/cmLocalUnixMakefileGenerator2.h @@ -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: }; |