mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmInstallGenerator: std::string params
Several construction parameters converted to std::string Also made a few class members const
This commit is contained in:
@@ -12,11 +12,10 @@
|
||||
#include "cmPolicies.h"
|
||||
#include "cmScriptGenerator.h"
|
||||
|
||||
cmInstallScriptGenerator::cmInstallScriptGenerator(std::string script,
|
||||
bool code,
|
||||
const char* component,
|
||||
bool exclude_from_all)
|
||||
: cmInstallGenerator(nullptr, std::vector<std::string>(), component,
|
||||
cmInstallScriptGenerator::cmInstallScriptGenerator(
|
||||
std::string script, bool code, std::string const& component,
|
||||
bool exclude_from_all)
|
||||
: cmInstallGenerator("", std::vector<std::string>(), component,
|
||||
MessageDefault, exclude_from_all)
|
||||
, Script(std::move(script))
|
||||
, Code(code)
|
||||
|
||||
Reference in New Issue
Block a user