Browse Source

Xcode: Make CMAKE_XCODE_ATTRIBUTE calculation last step (#14947)

Gregor Jasny 10 years ago
parent
commit
28f98ceef1
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Source/cmGlobalXCodeGenerator.cxx

+ 4 - 4
Source/cmGlobalXCodeGenerator.cxx

@@ -3527,6 +3527,10 @@ bool cmGlobalXCodeGenerator
       this->CreateString(this->GeneratorToolset.c_str()));
     }
 
+  std::string symroot = root->GetCurrentBinaryDirectory();
+  symroot += "/build";
+  buildSettings->AddAttribute("SYMROOT", this->CreateString(symroot.c_str()));
+
   // Put this last so it can override existing settings
   // Convert "CMAKE_XCODE_ATTRIBUTE_*" variables directly.
   {
@@ -3543,10 +3547,6 @@ bool cmGlobalXCodeGenerator
     }
   }
 
-  std::string symroot = root->GetCurrentBinaryDirectory();
-  symroot += "/build";
-  buildSettings->AddAttribute("SYMROOT", this->CreateString(symroot.c_str()));
-
   for( std::vector<cmXCodeObject*>::iterator i = configs.begin();
        i != configs.end(); ++i)
     {