diff options
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index c7a370d..2d849f9 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -21,6 +21,7 @@ class cmMakefile; class cmGlobalGenerator; +class cmTarget; /** \class cmLocalGenerator * \brief Create required build files for a directory. @@ -55,6 +56,11 @@ public: */ virtual void ConfigureFinalPass(); + /** + * Generate the install rules files in this directory. + */ + virtual void GenerateInstallRules(); + ///! Get the makefile for this generator cmMakefile *GetMakefile() { return this->m_Makefile; }; @@ -65,8 +71,16 @@ public: ///! Set the Global Generator, done on creation by the GlobalGenerator void SetGlobalGenerator(cmGlobalGenerator *gg); + + /** Get the full name of the target's file, without path. */ + std::string GetFullTargetName(const char* n, const cmTarget& t); + + virtual const char* GetSafeDefinition(const char*); + std::string ConvertToRelativeOutputPath(const char* p); protected: + virtual void AddInstallRule(ostream& fout, const char* dest, int type, const char* files); + bool m_FromTheTop; cmMakefile *m_Makefile; cmGlobalGenerator *m_GlobalGenerator; |