diff options
author | Brad King <brad.king@kitware.com> | 2011-06-08 11:54:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-08 11:54:33 (GMT) |
commit | f09ba0f1a2dbae3bca99b35b7d8c26c457c5824c (patch) | |
tree | 2b82a07d634e28a17a75bcb47566cf3032e815c2 /Source | |
parent | eeeeca1082a8be5890a6d2096b505ebe584fc2b7 (diff) | |
download | CMake-f09ba0f1a2dbae3bca99b35b7d8c26c457c5824c.zip CMake-f09ba0f1a2dbae3bca99b35b7d8c26c457c5824c.tar.gz CMake-f09ba0f1a2dbae3bca99b35b7d8c26c457c5824c.tar.bz2 |
Fix style errors added by parent and grandparent
Diffstat (limited to 'Source')
-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); |