diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-05-11 12:45:16 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-05-11 12:45:16 (GMT) |
commit | 4b1c392c9c441437a00d0be3c2da0fd0b103777f (patch) | |
tree | dc4a90ac597d2087e93143a47621f0372df96e65 /Source/cmLocalUnixMakefileGenerator3.h | |
parent | 0f0c1bf04175d8092d0a5e224e60e718328e7b03 (diff) | |
download | CMake-4b1c392c9c441437a00d0be3c2da0fd0b103777f.zip CMake-4b1c392c9c441437a00d0be3c2da0fd0b103777f.tar.gz CMake-4b1c392c9c441437a00d0be3c2da0fd0b103777f.tar.bz2 |
ENH: snapshot
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index ac4c04b..3e4f2f3 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -77,6 +77,9 @@ public: void SetMakeSilentFlag(const char* s) { m_MakeSilentFlag = s; } std::string &GetMakeSilentFlag() { return m_MakeSilentFlag; } + /** used to create a recursive make call */ + std::string GetRecursiveMakeCall(const char *makefile, const char* tgt); + @@ -124,11 +127,12 @@ public: /** write some extra rules suahc as make test etc */ void WriteSpecialTargetsTop(std::ostream& makefileStream); + void WriteMainTargetIncludes(std::ostream& makefileStream,const char *file, + const char *rule); + void WriteMainTargetRules(std::ostream& makefileStream,const char *file, + const char *rule); - - void WriteTargetIncludes(std::ostream& makefileStream,const char *file, - const char *rule); void WriteSpecialTargetsBottom(std::ostream& makefileStream); std::string ConvertToRelativeOutputPath(const char* p); std::string GetRelativeTargetDirectory(const cmTarget& target); @@ -143,6 +147,13 @@ public: protected: + // write the target rules for the local Makefile into the stream + void WriteLocalMakefileTargets(std::ostream& ruleFileStream, + std::vector<std::string>& all_depends); + + // create the cd to home commands + void CreateJumpCommand(std::vector<std::string>& commands, std::string & localName); + // these two methods just compute reasonable values for m_LibraryOutputPath and // m_ExecutableOutputPath void ConfigureOutputPaths(); @@ -244,7 +255,7 @@ protected: const char* extraLinkFlags, const std::vector<std::string>& provides_requires); - + void WriteLocalMakefile(); @@ -268,7 +279,10 @@ protected: const std::vector<std::string>& files, const std::vector<std::string>& objects, const std::vector<std::string>& external_objects); - + void WriteTargetRequiresRule(std::ostream& ruleFileStream, + const cmTarget& target, + const std::vector<std::string>& provides_requires); + std::string GetTargetDirectory(const cmTarget& target); std::string GetSubdirTargetName(const char* pass, const char* subdir); std::string GetObjectFileName(const cmTarget& target, |