[CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-19 Thread Nicholas Yue
Hi, I have a simple CMakeLists.txt file compiling a single source via the generator Xcode I have been following recent conversation about CMake 2.8.8/2.8.9 having problem with Xcode 4.4.1 and read that the problem might be resolved in CMake 2.8.10 I am on OS X 10.7.4, I have no

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-19 Thread David Cole
In the CMake source tree, can you try to build "Tests/Tutorial/Step1" with the Xcode generator and report the results? Can you send your simple CMakeLists.txt file and its single source here? What does your machine report when you run "xcode-select -print-path"? On Nov 19, 2012, at 5:25 AM, Ni

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-21 Thread Nicholas Yue
On 19/11/12 10:31 PM, David Cole wrote: In the CMake source tree, can you try to build "Tests/Tutorial/Step1" with the Xcode generator and report the results? $ xcodebuild Tutorial.xcodeproj === BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Tutorial WITH THE DEFAULT CONFIGURATION (Debug) === C

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-28 Thread David Cole
I can't for the life of me reproduce this. I've tried on my own Mac with Xcode 4.2, and on a colleague's Mac with Xcode 4.5.2. I can't seem to find a 4.4.1 machine to try this out on... Is this a problem for anybody else using CMake 2.8.10 on a Mac with the Xcode generator? Can you send the full

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-10 Thread Asmodehn Shade
Hello, I just had this happening with CMake 2.8.10 ( from a recent macports ) and with XCode 4.5.2. I built the step1 tutorial in its source dir : bash-3.2$ cmake -G XCode .^M -- The C compiler identification is Clang 4.1.0^M -- The CXX compiler identification is Clang 4.1.0^M -- Check for workin

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-11 Thread Bill Hoffman
On 1/11/2013 2:09 AM, Asmodehn Shade wrote: Hello, I just had this happening with CMake 2.8.10 ( from a recent macports ) and with XCode 4.5.2. I built the step1 tutorial in its source dir : bash-3.2$ cmake -G XCode .^M -- The C compiler identification is Clang 4.1.0^M -- The CXX compiler ident

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-13 Thread Asmodehn Shade
2013/1/11 Bill Hoffman > On 1/11/2013 2:09 AM, Asmodehn Shade wrote: > >> Hello, >> >> I just had this happening with CMake 2.8.10 ( from a recent macports ) >> and with XCode 4.5.2. >> I built the step1 tutorial in its source dir : >> >> bash-3.2$ cmake -G XCode .^M >> -- The C compiler identifi

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-13 Thread Asmodehn Shade
2013/1/14 Asmodehn Shade > 2013/1/11 Bill Hoffman > >> On 1/11/2013 2:09 AM, Asmodehn Shade wrote: >> >>> Hello, >>> >>> I just had this happening with CMake 2.8.10 ( from a recent macports ) >>> and with XCode 4.5.2. >>> I built the step1 tutorial in its source dir : >>> >>> bash-3.2$ cmake -G

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-14 Thread Brad King
On 01/13/2013 09:37 PM, Asmodehn Shade wrote: > bash-3.2$ xcodebuild Tutorial.xcodeproj/ > === BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Tutorial WITH THE > DEFAULT CONFIGURATION (Debug) === > Check dependencies > unsupported build action 'Tutorial.xcodeproj' Th

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-14 Thread Asmodehn Shade
Hello, I managed to reproduce the problem with the simple HelloWorld given by Nicholas a bit earlier in this thread, with a slight modification. The problem seems to come from : *set(CMAKE_OSX_SYSROOT iphoneos6.0)* Just add this line to the CMakeLists.txt, and you will see that the path for the b

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-21 Thread Asmodehn Shade
Hello, Is there any news on that ? Any way to fix it, or work around or even a hack I can try ? >From what I understand the CMAKE_OSX_SYSROOT variable is mandatory to specify the base SDK, and therefore to be able to build a project... Or should I just revert to using cmake 2.8.9 ? Thank you, --

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-23 Thread Brad King
On 01/21/2013 08:59 PM, Asmodehn Shade wrote: > Is there any news on that ? Sorry, I had this on my todo list to try to reproduce and it slipped through the cracks. > From what I understand the CMAKE_OSX_SYSROOT variable is mandatory > to specify the base SDK, and therefore to be able to build a

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2013-01-27 Thread Asmodehn Shade
Hello, Hmmm this is interesting... I didn't think building for iphone was considered cross compiling, since Xcode takes care of everything, but it makes sense... I am currently using a custom-made toolchain file, more or less, as all these variables are set in the main cmakelists.txt. However, o