summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-07-02 15:02:52 (GMT)
committerBrad King <brad.king@kitware.com>2007-07-02 15:02:52 (GMT)
commitc83ae4673d1bdf72bf27eb6e60c877b1156a672a (patch)
tree53d89845aec8f5fbf25bf45317bed251658cf128 /Source/cmInstallTargetGenerator.h
parentc8b263c674d9c75232b4317b57259b1bbff88016 (diff)
downloadCMake-c83ae4673d1bdf72bf27eb6e60c877b1156a672a.zip
CMake-c83ae4673d1bdf72bf27eb6e60c877b1156a672a.tar.gz
CMake-c83ae4673d1bdf72bf27eb6e60c877b1156a672a.tar.bz2
ENH: Improved indentation of generated cmake_install.cmake code.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 37e6ea2..f7976cb 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;