diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 00:25:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-26 00:25:26 (GMT) |
commit | 797db2bd822555dc4d355def1233d1503f90fe61 (patch) | |
tree | 7d5a182093b31890865e413084a45958c250bc50 /Source/cmLocalGenerator.h | |
parent | 3b5139a3d86fc3e37289c5fbe58483838520924f (diff) | |
download | CMake-797db2bd822555dc4d355def1233d1503f90fe61.zip CMake-797db2bd822555dc4d355def1233d1503f90fe61.tar.gz CMake-797db2bd822555dc4d355def1233d1503f90fe61.tar.bz2 |
ENH: Start adding new installation framework
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; |