diff options
author | Brad King <brad.king@kitware.com> | 2007-07-02 11:02:52 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-07-02 11:02:52 -0400 |
commit | c83ae4673d1bdf72bf27eb6e60c877b1156a672a (patch) | |
tree | 53d89845aec8f5fbf25bf45317bed251658cf128 /Source/cmInstallTargetGenerator.h | |
parent | c8b263c674d9c75232b4317b57259b1bbff88016 (diff) | |
download | cmake-c83ae4673d1bdf72bf27eb6e60c877b1156a672a.tar.gz |
ENH: Improved indentation of generated cmake_install.cmake code.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index 37e6ea27aa..f7976cbc29 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -43,15 +43,24 @@ public: const std::vector<std::string>& GetConfigurations() const {return this->Configurations;} protected: + typedef cmInstallGeneratorIndent Indent; virtual void GenerateScript(std::ostream& os); void GenerateScriptForConfig(std::ostream& os, const char* fromDir, - const char* config); - void AddInstallNamePatchRule(std::ostream& os, const char* config, + const char* config, + Indent const& indent); + void GenerateScriptForConfigDir(std::ostream& os, + const char* fromDirConfig, + const char* config, + Indent const& indent); + void AddInstallNamePatchRule(std::ostream& os, Indent const& indent, + const char* config, const std::string& toFullPath); - void AddStripRule(std::ostream& os, cmTarget::TargetType type, + void AddStripRule(std::ostream& os, Indent const& indent, + cmTarget::TargetType type, const std::string& toFullPath); - void AddRanlibRule(std::ostream& os, cmTarget::TargetType type, + void AddRanlibRule(std::ostream& os, Indent const& indent, + cmTarget::TargetType type, const std::string& toFullPath); cmTarget* Target; |