ENH: fix line length
This commit is contained in:
parent
0964cb6c64
commit
1f1196410a
|
@ -300,7 +300,8 @@ void cmLocalUnixMakefileGenerator3
|
||||||
// Add a fast rule to build the target
|
// Add a fast rule to build the target
|
||||||
std::string makefileName = this->GetRelativeTargetDirectory(t->second);
|
std::string makefileName = this->GetRelativeTargetDirectory(t->second);
|
||||||
makefileName += "/build.make";
|
makefileName += "/build.make";
|
||||||
std::string makeTargetName = this->GetRelativeTargetDirectory(t->second);
|
std::string makeTargetName =
|
||||||
|
this->GetRelativeTargetDirectory(t->second);
|
||||||
makeTargetName += "/build";
|
makeTargetName += "/build";
|
||||||
localName = t->second.GetName();
|
localName = t->second.GetName();
|
||||||
localName += "/fast";
|
localName += "/fast";
|
||||||
|
|
|
@ -1170,14 +1170,18 @@ void cmLocalVisualStudio7Generator
|
||||||
std::string compileFlagsCopy = compileFlags;
|
std::string compileFlagsCopy = compileFlags;
|
||||||
std::map<cmStdString, cmStdString> fileFlagMap;
|
std::map<cmStdString, cmStdString> fileFlagMap;
|
||||||
this->FillFlagMapFromCommandFlags
|
this->FillFlagMapFromCommandFlags
|
||||||
(fileFlagMap, &cmLocalVisualStudio7GeneratorFlagTable[0], compileFlagsCopy);
|
(fileFlagMap,
|
||||||
if(compileFlagsCopy.size() && compileFlagsCopy.find_first_not_of(" ")
|
&cmLocalVisualStudio7GeneratorFlagTable[0],
|
||||||
|
compileFlagsCopy);
|
||||||
|
if(compileFlagsCopy.size() &&
|
||||||
|
compileFlagsCopy.find_first_not_of(" ")
|
||||||
!= compileFlagsCopy.npos)
|
!= compileFlagsCopy.npos)
|
||||||
{
|
{
|
||||||
fout << "\t\t\t\t\tAdditionalOptions=\""
|
fout << "\t\t\t\t\tAdditionalOptions=\""
|
||||||
<< this->EscapeForXML(compileFlagsCopy.c_str()) << "\"\n";
|
<< this->EscapeForXML(compileFlagsCopy.c_str()) << "\"\n";
|
||||||
}
|
}
|
||||||
for(std::map<cmStdString, cmStdString>::iterator m = fileFlagMap.begin();
|
for(std::map<cmStdString,
|
||||||
|
cmStdString>::iterator m = fileFlagMap.begin();
|
||||||
m != fileFlagMap.end(); ++m)
|
m != fileFlagMap.end(); ++m)
|
||||||
{
|
{
|
||||||
fout << "\t\t\t\t\t" << m->first << "=\"" << m->second << "\"\n";
|
fout << "\t\t\t\t\t" << m->first << "=\"" << m->second << "\"\n";
|
||||||
|
|
Loading…
Reference in New Issue