|
|
@@ -367,13 +367,7 @@ cmVisualStudio10TargetGenerator::WriteCustomRule(cmSourceFile* source,
|
|
|
i != configs->end(); ++i)
|
|
|
{
|
|
|
std::string script =
|
|
|
- cmVS10EscapeXML(
|
|
|
- lg->ConstructScript(command.GetCommandLines(),
|
|
|
- command.GetWorkingDirectory(),
|
|
|
- i->c_str(),
|
|
|
- command.GetEscapeOldStyle(),
|
|
|
- command.GetEscapeAllowMakeVars())
|
|
|
- );
|
|
|
+ cmVS10EscapeXML(lg->ConstructScript(command, i->c_str()));
|
|
|
this->WritePlatformConfigTag("Message",i->c_str(), 3);
|
|
|
(*this->BuildFileStream ) << cmVS10EscapeXML(comment) << "</Message>\n";
|
|
|
this->WritePlatformConfigTag("Command", i->c_str(), 3);
|
|
|
@@ -1460,13 +1454,7 @@ void cmVisualStudio10TargetGenerator::WriteEvent(
|
|
|
script += pre;
|
|
|
pre = "\n";
|
|
|
script +=
|
|
|
- cmVS10EscapeXML(
|
|
|
- lg->ConstructScript(command.GetCommandLines(),
|
|
|
- command.GetWorkingDirectory(),
|
|
|
- configName.c_str(),
|
|
|
- command.GetEscapeOldStyle(),
|
|
|
- command.GetEscapeAllowMakeVars())
|
|
|
- );
|
|
|
+ cmVS10EscapeXML(lg->ConstructScript(command, configName.c_str()));
|
|
|
}
|
|
|
comment = cmVS10EscapeComment(comment);
|
|
|
this->WriteString("<Message>",3);
|