mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 10:39:28 -05:00
cmGeneratorTarget::GetProperty: return cmProp
This commit is contained in:
@@ -110,9 +110,9 @@ void cmNinjaUtilityTargetGenerator::Generate(const std::string& config)
|
||||
std::string command =
|
||||
lg->BuildCommandLine(commands, "utility", this->GeneratorTarget);
|
||||
std::string desc;
|
||||
const char* echoStr = genTarget->GetProperty("EchoString");
|
||||
cmProp echoStr = genTarget->GetProperty("EchoString");
|
||||
if (echoStr) {
|
||||
desc = echoStr;
|
||||
desc = *echoStr;
|
||||
} else {
|
||||
desc = "Running utility command for " + this->GetTargetName();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user