diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-31 18:17:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-31 18:17:23 (GMT) |
commit | ae10b3578d3234db1e379b663657fbdb9d1ac543 (patch) | |
tree | 39fd57f7548112c5bb1d3501c9a80fb686911bbf /Source/cmGlobalXCodeGenerator.cxx | |
parent | bc649db7cc51acbd56c145fd884a49f049c8393f (diff) | |
download | CMake-ae10b3578d3234db1e379b663657fbdb9d1ac543.zip CMake-ae10b3578d3234db1e379b663657fbdb9d1ac543.tar.gz CMake-ae10b3578d3234db1e379b663657fbdb9d1ac543.tar.bz2 |
ENH: add a wrapper for xcodebuild to get around bug and verbose output
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 3d5dce7..5e01987 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1148,8 +1148,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, this->CreateString("mh_bundle")); buildSettings->AddAttribute("GCC_DYNAMIC_NO_PIC", this->CreateString("NO")); - buildSettings->AddAttribute("PREBINDING", - this->CreateString("NO")); buildSettings->AddAttribute("GCC_SYMBOLS_PRIVATE_EXTERN", this->CreateString("NO")); buildSettings->AddAttribute("GCC_INLINES_ARE_PRIVATE_EXTERN", @@ -1245,7 +1243,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, default: break; } - + if(this->XcodeVersion >= 22) + { + buildSettings->AddAttribute("PREBINDING", + this->CreateString("NO")); + } std::string dirs; std::vector<std::string> includes; this->CurrentLocalGenerator->GetIncludeDirectories(includes); |