mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-25 10:18:34 -06:00
cmInstall*Generator: std::string params
Several construction parameters converted to std::string Also made a few class members const
This commit is contained in:
committed by
Brad King
parent
941c09616b
commit
9db532f44d
@@ -19,7 +19,7 @@ class cmLocalGenerator;
|
||||
class cmInstallScriptGenerator : public cmInstallGenerator
|
||||
{
|
||||
public:
|
||||
cmInstallScriptGenerator(const char* script, bool code,
|
||||
cmInstallScriptGenerator(std::string script, bool code,
|
||||
const char* component, bool exclude_from_all);
|
||||
~cmInstallScriptGenerator() override;
|
||||
|
||||
@@ -32,8 +32,8 @@ protected:
|
||||
void AddScriptInstallRule(std::ostream& os, Indent indent,
|
||||
std::string const& script);
|
||||
|
||||
std::string Script;
|
||||
bool Code;
|
||||
std::string const Script;
|
||||
bool const Code;
|
||||
cmLocalGenerator* LocalGenerator;
|
||||
bool AllowGenex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user