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/cmTryCompileCommand.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/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index 1094664..e524b77 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -231,20 +231,6 @@ int cmTryCompileCommand::CoreTryCompileCode( // actually do the try compile now that everything is setup int res = mf->TryCompile(sourceDirectory, binaryDirectory, projectName, targetName, &cmakeFlags, &output); - // for the xcode generator - if(strcmp(mf->GetCMakeInstance()->GetGlobalGenerator()->GetName() , - "Xcode") == 0) - { - int numTrys = 0; - while(output.find("/bin/sh: bad interpreter: Text file busy") - != output.npos && numTrys < 4) - { - output = ""; - res = mf->TryCompile(sourceDirectory, binaryDirectory, - projectName, targetName, &cmakeFlags, &output); - numTrys++; - } - } if ( erroroc ) { cmSystemTools::SetErrorOccured(); |