summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallScriptGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-11 16:05:43 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 17:47:57 (GMT)
commit121509250734f420cd48a64e171ba155ade3cd59 (patch)
treec42b5b7a89413448f2d736fc10579abd98fe028c /Source/cmInstallScriptGenerator.h
parent2452cfdeab0a4c07a84b0908f4d4ecee79861ec8 (diff)
downloadCMake-121509250734f420cd48a64e171ba155ade3cd59.zip
CMake-121509250734f420cd48a64e171ba155ade3cd59.tar.gz
CMake-121509250734f420cd48a64e171ba155ade3cd59.tar.bz2
cmInstallScriptGenerator: Factor out method to get script
Diffstat (limited to 'Source/cmInstallScriptGenerator.h')
-rw-r--r--Source/cmInstallScriptGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmInstallScriptGenerator.h b/Source/cmInstallScriptGenerator.h
index f7ee3f9..6f0c837 100644
--- a/Source/cmInstallScriptGenerator.h
+++ b/Source/cmInstallScriptGenerator.h
@@ -25,6 +25,10 @@ public:
bool Compute(cmLocalGenerator* lg) override;
+ bool IsCode() const { return this->Code; }
+
+ std::string GetScript(std::string const& config) const;
+
protected:
void GenerateScriptActions(std::ostream& os, Indent indent) override;
void GenerateScriptForConfig(std::ostream& os, const std::string& config,