diff options
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 9 | ||||
-rw-r--r-- | Source/cmSourceGroupCommand.cxx | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 688296e..b0c095d 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2506,7 +2506,8 @@ cmXCodeObject* cmGlobalXCodeGenerator } else { - std::vector<std::string> tgt_folders = cmSystemTools::tokenize(target, "/"); + std::vector<std::string> tgt_folders = + cmSystemTools::tokenize(target, "/"); cmStdString curr_tgt_folder; for(std::vector<std::string>::size_type i = 0; i < tgt_folders.size();i++) { @@ -2543,13 +2544,15 @@ cmXCodeObject* cmGlobalXCodeGenerator //It's a recursive folder structure, let's find the real parent group if(std::string(sg->GetFullName()) != std::string(sg->GetName())) { - std::vector<std::string> folders = cmSystemTools::tokenize(sg->GetFullName(), "\\"); + std::vector<std::string> folders = + cmSystemTools::tokenize(sg->GetFullName(), "\\"); cmStdString curr_folder = cmtarget.GetName(); curr_folder += "/"; for(std::vector<std::string>::size_type i = 0; i < folders.size();i++) { curr_folder += folders[i]; - std::map<cmStdString, cmXCodeObject* >::iterator i_folder = this->GroupNameMap.find(curr_folder); + std::map<cmStdString, cmXCodeObject* >::iterator i_folder = + this->GroupNameMap.find(curr_folder); //Create new folder if(i_folder == this->GroupNameMap.end()) { diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 22f4d47..8e61d0a 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -27,7 +27,8 @@ bool cmSourceGroupCommand delimiter = this->Makefile->GetDefinition("SOURCE_GROUP_DELIMITER"); } - std::vector<std::string> folders = cmSystemTools::tokenize(args[0], delimiter); + std::vector<std::string> folders = + cmSystemTools::tokenize(args[0], delimiter); cmSourceGroup* sg = 0; sg = this->Makefile->GetSourceGroup(folders); |