MCPcopy Create free account
hub / github.com/Kitware/CMake / FinishConstructScript

Method FinishConstructScript

Source/cmLocalVisualStudioGenerator.cxx:287–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287std::string cmLocalVisualStudioGenerator::FinishConstructScript(
288 VsProjectType projectType, std::string const& newline)
289{
290 bool useLocal = this->CustomCommandUseLocal();
291
292 // Store the script in a string.
293 std::string script;
294
295 if (useLocal && projectType != VsProjectType::vcxproj) {
296 // This label is not provided by MSBuild for C# projects.
297 script += newline;
298 script += this->GetReportErrorLabel();
299 }
300
301 return script;
302}

Callers 5

FinishMethod · 0.80
WriteCustomRuleMethod · 0.80
WriteCustomRuleMethod · 0.80
WriteEventMethod · 0.80
WriteSdkStyleEventMethod · 0.80

Calls 2

CustomCommandUseLocalMethod · 0.95
GetReportErrorLabelMethod · 0.95

Tested by

no test coverage detected