Xcode: Make CMAKE_XCODE_ATTRIBUTE calculation last step (#14947)
This commit is contained in:
parent
28db2268e8
commit
28f98ceef1
|
@ -3527,6 +3527,10 @@ bool cmGlobalXCodeGenerator
|
||||||
this->CreateString(this->GeneratorToolset.c_str()));
|
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
|
// Put this last so it can override existing settings
|
||||||
// Convert "CMAKE_XCODE_ATTRIBUTE_*" variables directly.
|
// 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();
|
for( std::vector<cmXCodeObject*>::iterator i = configs.begin();
|
||||||
i != configs.end(); ++i)
|
i != configs.end(); ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue