[CMake] CMake Xcodeproject

salwa alqundus at hotmail.com
Thu Dec 2 07:10:24 EST 2010



thanks. it look's like i'm the only one :(

Date: Thu, 2 Dec 2010 04:01:20 -0800
From: ml-node+5795741-701463057-305703 at n2.nabble.com
To: alqundus at hotmail.com
Subject: Re: CMake Xcodeproject



	I don't really have time or funding to investigate this further in the short term. (And I can't get the attachments you sent, perhaps you could post them somewhere public, rather than trying to attach them in email?)


Is there anybody else on this list doing iPhone/iPad stuff with CMake that can chime in and give advice regarding how to build such a project with CMake?


Thanks,
David C.



On Thu, Dec 2, 2010 at 6:49 AM, salwa <[hidden email]> wrote:







thanks again.
i have hand-created an simple app (Testend) => it worksand once created from this with CMake (out) => not works
error:
Check dependencies


target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform

this says: it try to build a command for plattform (iphone), that not supported.so something faild in CMakeLists and i don't know how to set these.

CMake 2.8SDK 3.2
OSX 10.6.5
Thanks
Date: Thu, 2 Dec 2010 03:02:14 -0800
From: [hidden email]

To: [hidden email]
Subject: Re: CMake Xcodeproject



	If it works without CMake, but not with CMake, then ... clearly there's a difference between your hand-crafted Xcode project file and the CMake generated one. What is that difference? Did you do any diff-ing to find out?



Please send a link to your whole project tree, including the hand-crafted Xcode project so that we can reproduce your problem.

Or... if you can't do that, then provide a minimal reproducing case for further investigation.



One would have to wonder why you would want to use CMake to build iOS specific code in the first place if you already have a working non-CMake-based build. Do you hope to port your iOS app to other platforms? It looks like the source code in question will certainly not compile except for an iOS-targeted build.




On Thu, Dec 2, 2010 at 5:49 AM, salwa <[hidden email]> wrote:








thanks for your answer.i don't think so, i'm sure my source code is correct. It's working without CMake-genarator and not with. 

Date: Wed, 1 Dec 2010 08:48:00 -0800
From: [hidden email]


To: [hidden email]
Subject: Re: CMake Xcodeproject



	This looks like an issue with your code, rather than the build.
Ryan

On Wed, Dec 1, 2010 at 5:03 AM, salwa <[hidden email]> wrote:





Hi, i send this message to the mailing list bevor but nobody answer!!

i create an Xcodeproject with CMake and when i build it, it get's this

error's:

In file included from

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:13,

                 from

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13,

                 from ../Desktop/iPad/Classes/iPadAppDelegate.h:9,

                 from ../Desktop/iPad/Classes/iPadAppDelegate.m:9:

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:33:

error: expected identifier before '}' token

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:74:

error: expected specifier-qualifier-list before 'UIUserInterfaceIdiom'

In file included from

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:71,

                 from ../Desktop/iPad/Classes/iPadAppDelegate.h:9,

                 from ../Desktop/iPad/Classes/iPadAppDelegate.m:9:

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:88:

error: expected specifier-qualifier-list before 'UIDataDetectorTypes'

...



If necessary I will send the CMakeLists.txt

Anyone know what I missed or am doing wrong please? i hope somebody answer

me. Thanks



--

View this message in context: http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5791404.html

Sent from the CMake mailing list archive at Nabble.com.

_______________________________________________

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



-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

[hidden email]



http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik



_______________________________________________

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
	

	

	
	
		View message @ http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5792557.html

		
		To unsubscribe from CMake Xcodeproject, click here.
	 		 	   		  



View this message in context: RE: CMake Xcodeproject


Sent from the CMake mailing list archive at Nabble.com.


_______________________________________________

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



_______________________________________________

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
	

	

	
	
		View message @ http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5795543.html


		
		To unsubscribe from CMake Xcodeproject, click here.
	 		 	   		  

 
 
 Testend.zip (26K) Download Attachment
 out.zip (2M) Download Attachment



View this message in context: RE: CMake Xcodeproject

Sent from the CMake mailing list archive at Nabble.com.


_______________________________________________

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



_______________________________________________

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
	

	

	
	
		View message @ http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5795741.html

		
		To unsubscribe from CMake Xcodeproject, click here.
	 		 	   		  
-- 
View this message in context: http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5795761.html
Sent from the CMake mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101202/abf7a2d7/attachment-0001.htm>


More information about the CMake mailing list