<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div>On 9 Aug 2012, at 22:17, <a href="mailto:cmake-request@cmake.org">cmake-request@cmake.org</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 8/9/2012 4:58 PM, Etuka Onono wrote:<br><blockquote type="cite">ichael and David, thanks for responding. &nbsp;Rest assured that I always<br>truncate my build directory when I come to a sticky halt with Cmake.<br><br>Michael, I set a symmlink to /Developer/Applications/Xcode.app as you<br>suggested, but this does not solve my problem (I know David had his<br>doubts, I wanted to try anyway). &nbsp;I do think you are right about it<br>having something to do with information on older issues of Xcode,<br>though, as I have a clean install of Xcode 4.4.1 and Cmake 2.8.8 that<br>works (neither have been upgraded) and I have been as rigorous as I<br>feel I can be in deleting all Cmake artefacts when installing Cmake<br>2.8.8 (removed anything vaguely related to Cmake in /Library and<br>~/Library, removed all the symmlinks in /usr/bin, etc).<br></blockquote><br><br>See this bug report:<br><br><a href="http://www.cmake.org/Bug/view.php?id=13353">http://www.cmake.org/Bug/view.php?id=13353</a><br><br>Trouble is here:<br>xcodebuild: error: option '-buildstyle' is no longer supported<br><br>Answer is : "Looks like it's no longer an issue with the final release&nbsp;<br>of Xcode 4.4 and OS X 10.8. This issue can be closed. "<br><br>-Bill</blockquote></div><div><br></div><div><br></div>Bill,&nbsp;<div><br></div><div>Thanks for pointing me at the bug report.<br><div><br></div><div>I am running OS X 10.8 and Xcode 4.4.1. &nbsp;I have just update to Cmake 2.8.9 (and deleted my project build directory). &nbsp;I have the same error:</div><div><br></div><div><div style="margin: 0px; "><!--StartFragment-->The C compiler identification is GNU 4.2.1</div><div style="margin: 0px; ">The CXX compiler identification is GNU 4.2.1</div><div style="margin: 0px; ">Checking whether C compiler has -isysroot</div><div style="margin: 0px; ">Checking whether C compiler has -isysroot - yes</div><div style="margin: 0px; ">Checking whether C compiler supports OSX deployment target flag</div><div style="margin: 0px; ">Checking whether C compiler supports OSX deployment target flag - yes</div><div style="margin: 0px; ">Check for working C compiler using: Xcode</div><div style="margin: 0px; ">Check for working C compiler using: Xcode -- broken</div><div style="margin: 0px; "><span style=" color:#ff0000;">CMake Error at /Developer/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</span></div><div style="margin: 0px; "><span style=" color:#ff0000;">  The C compiler "/usr/bin/gcc" is not able to compile a simple test program.</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;">  It fails with the following output:</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;">   Change Dir: /Users/etuka/projects/baml/onethousand/build/CMakeFiles/CMakeTmp</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><p style="margin: 0px; "><span style=" color:#ff0000;">  </span></p><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;">  Run Build Command:/Developer/CMake\ 2.8-9.app/Contents/bin/cmakexbuild</span></div><div style="margin: 0px; "><span style=" color:#ff0000;">  -project CMAKE_TRY_COMPILE.xcode build -target cmTryCompileExec58567693</span></div><div style="margin: 0px; "><span style=" color:#ff0000;">  -buildstyle Development</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div><div style="margin: 0px; "><span style=" color:#ff0000;">  xcodebuild: error: option '-buildstyle' is no longer supported</span></div><div style="margin: 0px; color: rgb(255, 0, 0); "><br></div></div><div style="margin: 0px; ">Something is still spoofing CMake into thinking it has an older version of Xcode. &nbsp;</div><div style="margin: 0px; "><br></div><div>Etuka</div><div><br></div><div><br></div></div></body></html>