Hi guys,

On 30/11/10 20:36 , Ulrich Hertlein wrote:
> I made some more tweaks to the cmake files, to build for the simulator.  I'll 
> test with
> the merged changes post them after some cleanups.

Attached; here's a summary of the changes:
- CMakeLists.txt
-- don't look for GL when compiling for iOS (device or simulator), look for 
OGLES instead
-- use architecture i386 for simulator
-- removed iphoneos-version-min for simulator

- examples/osgviewerIPhone/CMakeLists.txt
-- added build dependencies for osgdb_osg, osgdb_freetype, osgdb_imageio
-- added framework QuartzCore link dependency

- src/osgDB/CMakeLists.txt
-- don't link against Carbon on iOS (device or simulator)

- src/osgPlugins/freetype/CMakeLists.txt
-- don't link against OpenGL on iOS device or simulator

- src/osgViewer/CMakeLists.txt
-- link against OpenGLES on iOS (device or simulator)

- src/osgPlugins/imageio/CMakeLists.txt
-- compile ReaderWriterImageIO_IOS.cpp as Objective-C++

> The final roadblock a.t.m. is building the imageio plugin, it simply won't go 
> through
> (complaining about CFXML* stuff, no idea).

This works with Stephan's updated imageio/CMakeLists.txt

Cheers,
/ulrich

Attachment: iOS_CMake.tar.bz
Description: BZip2 compressed data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to