diff options
author | Brad King <brad.king@kitware.com> | 2004-10-27 14:45:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-10-27 14:45:18 (GMT) |
commit | 8e0985f9f1785fc8fdc7c6c35bb215bf2070804d (patch) | |
tree | 0229f636885478c1beabbe3cf0b80f59f49aaab2 /Source/cmLocalUnixMakefileGenerator2.h | |
parent | 235bf2547c40e9aba71ff289384be1ac8856f213 (diff) | |
download | CMake-8e0985f9f1785fc8fdc7c6c35bb215bf2070804d.zip CMake-8e0985f9f1785fc8fdc7c6c35bb215bf2070804d.tar.gz CMake-8e0985f9f1785fc8fdc7c6c35bb215bf2070804d.tar.bz2 |
ENH: Added executable dependencies on libraries including jump-and-build support.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator2.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h index e269fe2..a1e72a2 100644 --- a/Source/cmLocalUnixMakefileGenerator2.h +++ b/Source/cmLocalUnixMakefileGenerator2.h @@ -90,10 +90,21 @@ protected: void AddSharedFlags(std::string& flags, const char* lang, bool shared); void AddConfigVariableFlags(std::string& flags, const char* var); void AppendFlags(std::string& flags, const char* newFlags); + void AppendLibDepend(std::vector<std::string>& depends, const char* name); + void AppendRecursiveMake(std::string& cmd, const char* file, const char* tgt); + void WriteJumpAndBuildRules(std::ostream& makefileStream); static bool ScanDependenciesC(const char* objFile, const char* srcFile, std::vector<std::string> const& includes); private: + // Map from target name to build directory containing it for + // jump-and-build targets. + struct RemoteTarget + { + std::string m_BuildDirectory; + std::string m_FilePath; + }; + std::map<cmStdString, RemoteTarget> m_JumpAndBuild; }; #endif |