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,
--
AlexV

2013/1/15 Asmodehn Shade <[email protected]>

> 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 build changes from Debug/ to Debug-iphoneos/
> This seems to confuse cmake 2.8.10 paths ( but is fine with cmake 2.8.9 )
>
> Let me know if you need anything else,
> --
> AlexV
>
> 2013/1/15 Brad King <[email protected]>
>
>> 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'
>>
>> The xcodebuild command does not take the .xcodeproj as an argument.
>> You need to use "-project $proj" if there is more than one project
>> in a directory.  Otherwise you do not need to specify it at all.
>>
>> > 2) cmake --build . --config Debug works too :
>> > /** BUILD SUCCEEDED **/
>> >
>> > => Does cmake --build . --config Debug does something special ?
>>
>> It runs a valid xcodebuild command line.
>>
>> > => Another thing to consider is that my original project fails to
>> > build *in the IDE*, with the same error as Nicholas previously stated
>> > in this thread :
>> [snip]
>> > make[1]: *** No rule to make target
>> `/Users/alexandre.vincent/Projects/my_project/prj/iOS/CMakeFiles/2.8.10/CMakeCCompiler.cmake',
>> needed by `CMakeFiles/cmake.check_cache'.
>> [snip]
>> > So is it possible that the Tutorial sample problem may not match the
>> > actual cause of the original problem ?
>>
>> Yes.  The tutorial build does work as seen with "cmake --build".
>> There must be something about the project itself that is different
>> from the tutorial example and triggers the problem.
>>
>> Can you provide a small example project that does reproduce the
>> problem?
>>
>> -Brad
>>
>
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to