diff options
author | Brad King <brad.king@kitware.com> | 2009-03-16 14:39:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-16 14:39:56 (GMT) |
commit | e67f5138b80b3b04844f3f5c0a3c69796266f9e6 (patch) | |
tree | 918dfffdd191602494e888ce72e3afaf797fbe9f /Source/cmInstallTargetGenerator.h | |
parent | e30835345abd1d05891c383506cadbc08ec51ccf (diff) | |
download | CMake-e67f5138b80b3b04844f3f5c0a3c69796266f9e6.zip CMake-e67f5138b80b3b04844f3f5c0a3c69796266f9e6.tar.gz CMake-e67f5138b80b3b04844f3f5c0a3c69796266f9e6.tar.bz2 |
ENH: Refactor cmInstallGenerator for re-use
A new cmScriptGenerator base class factors out the non-install-specific
part of cmInstallGenerator. This will be useful for other generators
that want per-configuration functionality.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index aa4db86..3a2f0d0 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -65,11 +65,9 @@ public: protected: virtual void GenerateScript(std::ostream& os); - virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent); - virtual void GenerateScriptActions(std::ostream& os, Indent const& indent); - void GenerateScriptForConfig(std::ostream& os, - const char* config, - Indent const& indent); + virtual void GenerateScriptForConfig(std::ostream& os, + const char* config, + Indent const& indent); void AddInstallNamePatchRule(std::ostream& os, Indent const& indent, const char* config, const std::string& toDestDirPath); |