summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-06-12 19:44:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-06-12 19:44:10 (GMT)
commit1f1196410a6e52305d91b5c6fe877f326f00cbc4 (patch)
tree4f076be221f3184ff5ddbc7409fcdf73291555b0 /Source
parent0964cb6c64d8ff67b97ced3459a5b054f935b66c (diff)
downloadCMake-1f1196410a6e52305d91b5c6fe877f326f00cbc4.zip
CMake-1f1196410a6e52305d91b5c6fe877f326f00cbc4.tar.gz
CMake-1f1196410a6e52305d91b5c6fe877f326f00cbc4.tar.bz2
ENH: fix line length
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx10
2 files changed, 9 insertions, 4 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 830f100..b9ae7dd 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -300,7 +300,8 @@ void cmLocalUnixMakefileGenerator3
// Add a fast rule to build the target
std::string makefileName = this->GetRelativeTargetDirectory(t->second);
makefileName += "/build.make";
- std::string makeTargetName = this->GetRelativeTargetDirectory(t->second);
+ std::string makeTargetName =
+ this->GetRelativeTargetDirectory(t->second);
makeTargetName += "/build";
localName = t->second.GetName();
localName += "/fast";
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 0cc7dad..84acda3 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1170,14 +1170,18 @@ void cmLocalVisualStudio7Generator
std::string compileFlagsCopy = compileFlags;
std::map<cmStdString, cmStdString> fileFlagMap;
this->FillFlagMapFromCommandFlags
- (fileFlagMap, &cmLocalVisualStudio7GeneratorFlagTable[0], compileFlagsCopy);
- if(compileFlagsCopy.size() && compileFlagsCopy.find_first_not_of(" ")
+ (fileFlagMap,
+ &cmLocalVisualStudio7GeneratorFlagTable[0],
+ compileFlagsCopy);
+ if(compileFlagsCopy.size() &&
+ compileFlagsCopy.find_first_not_of(" ")
!= compileFlagsCopy.npos)
{
fout << "\t\t\t\t\tAdditionalOptions=\""
<< 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)
{
fout << "\t\t\t\t\t" << m->first << "=\"" << m->second << "\"\n";