summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx10
1 files changed, 7 insertions, 3 deletions
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";