浏览代码

STYLE: fix line length

Alex
Alexander Neundorf 18 年之前
父节点
当前提交
362f81981e

+ 4 - 2
Source/cmGlobalXCodeGenerator.cxx

@@ -959,7 +959,8 @@ void  cmGlobalXCodeGenerator
                             std::vector<cmCustomCommand> 
                             std::vector<cmCustomCommand> 
                             const & commands,
                             const & commands,
                             const char* configName,
                             const char* configName,
-                            const std::map<cmStdString, cmStdString>& multipleOutputPairs
+                            const std::map<cmStdString, 
+                            cmStdString>& multipleOutputPairs
                            )
                            )
 {
 {
   std::string makefileName=makefileBasename;
   std::string makefileName=makefileBasename;
@@ -1487,7 +1488,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
       if(install_name_dir.find(".framework") != install_name_dir.npos)
       if(install_name_dir.find(".framework") != install_name_dir.npos)
         {
         {
         install_name_dir = install_name_dir + "/..";
         install_name_dir = install_name_dir + "/..";
-        install_name_dir = cmSystemTools::CollapseFullPath(install_name_dir.c_str());
+        install_name_dir = 
+            cmSystemTools::CollapseFullPath(install_name_dir.c_str());
         std::cerr << "new install name " << install_name_dir << "\n";
         std::cerr << "new install name " << install_name_dir << "\n";
         }
         }
       }
       }

+ 1 - 1
Source/cmGlobalXCodeGenerator.h

@@ -109,7 +109,7 @@ private:
   
   
   void CreateCustomRulesMakefile(const char* makefileBasename, 
   void CreateCustomRulesMakefile(const char* makefileBasename, 
                                  cmTarget& target,
                                  cmTarget& target,
-                                 std::vector<cmCustomCommand> const & commands, 
+                                 std::vector<cmCustomCommand> const & commands,
                                  const char* configName,
                                  const char* configName,
                                  const std::map<cmStdString, cmStdString>& 
                                  const std::map<cmStdString, cmStdString>& 
                                      multipleOutputPairs
                                      multipleOutputPairs

+ 2 - 1
Source/cmLocalVisualStudio7Generator.cxx

@@ -1283,7 +1283,8 @@ WriteCustomRule(std::ostream& fout,
       {
       {
       // Write a rule for the output generated by this command.
       // Write a rule for the output generated by this command.
       const char* sep = "";
       const char* sep = "";
-      for(std::vector<std::string>::const_iterator o = command.GetOutputs().begin();
+      for(std::vector<std::string>::const_iterator o = 
+          command.GetOutputs().begin(); 
           o != command.GetOutputs().end(); 
           o != command.GetOutputs().end(); 
           ++o)
           ++o)
         {
         {

+ 4 - 2
Source/cmTarget.cxx

@@ -416,7 +416,7 @@ cmTarget::CheckForTargetsAsCommand(const std::vector<cmCustomCommand>& commands)
         cli != commands.end();
         cli != commands.end();
         ++cli )
         ++cli )
     {
     {
-    for ( cmCustomCommandLines::const_iterator cit=cli->GetCommandLines().begin();
+    for(cmCustomCommandLines::const_iterator cit=cli->GetCommandLines().begin();
           cit!=cli->GetCommandLines().end();
           cit!=cli->GetCommandLines().end();
           ++cit )
           ++cit )
       {
       {
@@ -584,7 +584,9 @@ void cmTarget::TraceVSDependencies(std::string projFile,
         outsf->GetCustomCommand()->AppendDepends(automaticTargetDepends);
         outsf->GetCustomCommand()->AppendDepends(automaticTargetDepends);
 
 
       // add its dependencies to the list to check
       // add its dependencies to the list to check
-      for (unsigned int i = 0; i < outsf->GetCustomCommand()->GetDepends().size(); ++i)
+      for (unsigned int i = 0; 
+           i < outsf->GetCustomCommand()->GetDepends().size(); 
+           ++i)
         {
         {
         const std::string& fullName 
         const std::string& fullName 
           = outsf->GetCustomCommand()->GetDepends()[i];
           = outsf->GetCustomCommand()->GetDepends()[i];