diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-01 07:01:03 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-23 15:21:27 (GMT) |
commit | 75e511eeaf77848ffef00d570cb10243764f51d2 (patch) | |
tree | c212bd42181b246123e8ffd7ef57eccf77ef00ed /Source/cmInstallFilesGenerator.h | |
parent | 29c1385675df37146465e820d303de3cdd703e8c (diff) | |
download | CMake-75e511eeaf77848ffef00d570cb10243764f51d2.zip CMake-75e511eeaf77848ffef00d570cb10243764f51d2.tar.gz CMake-75e511eeaf77848ffef00d570cb10243764f51d2.tar.bz2 |
cmInstallFilesGenerator: Require cmLocalGenerator, not cmMakefile.
Diffstat (limited to 'Source/cmInstallFilesGenerator.h')
-rw-r--r-- | Source/cmInstallFilesGenerator.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h index bf482d6..00b3a79 100644 --- a/Source/cmInstallFilesGenerator.h +++ b/Source/cmInstallFilesGenerator.h @@ -14,16 +14,13 @@ #include "cmInstallGenerator.h" -class cmMakefile; - /** \class cmInstallFilesGenerator * \brief Generate file installation rules. */ class cmInstallFilesGenerator: public cmInstallGenerator { public: - cmInstallFilesGenerator(cmMakefile* mf, - std::vector<std::string> const& files, + cmInstallFilesGenerator(std::vector<std::string> const& files, const char* dest, bool programs, const char* file_permissions, std::vector<std::string> const& configurations, @@ -33,6 +30,8 @@ public: bool optional = false); virtual ~cmInstallFilesGenerator(); + void Compute(cmLocalGenerator* lg); + protected: virtual void GenerateScriptActions(std::ostream& os, Indent const& indent); virtual void GenerateScriptForConfig(std::ostream& os, @@ -41,7 +40,7 @@ protected: void AddFilesInstallRule(std::ostream& os, Indent const& indent, std::vector<std::string> const& files); - cmMakefile* Makefile; + cmLocalGenerator* LocalGenerator; std::vector<std::string> Files; std::string FilePermissions; std::string Rename; |