diff options
author | Brad King <brad.king@kitware.com> | 2021-01-11 16:05:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-28 17:47:57 (GMT) |
commit | 121509250734f420cd48a64e171ba155ade3cd59 (patch) | |
tree | c42b5b7a89413448f2d736fc10579abd98fe028c /Source/cmInstallScriptGenerator.h | |
parent | 2452cfdeab0a4c07a84b0908f4d4ecee79861ec8 (diff) | |
download | CMake-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.h | 4 |
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, |