mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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