Xcode: Make CMAKE_XCODE_ATTRIBUTE calculation last step (#14947)

This commit is contained in:
Gregor Jasny 2016-01-03 11:53:38 +01:00
parent 28db2268e8
commit 28f98ceef1
1 changed files with 4 additions and 4 deletions

View File

@ -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)
{