Eric Sokolowsky wrote:
Yes, the Xcode generator seems to have problems. I have been playing
with the cmake source code and many things are hard-wired and not
configurable. There are settings documented that are handled in the
cmake code but don't seem to have any effect on the xcode project
generated (notably XCODE_ATTRIBUTE_<x>). Application bundles seem to
not be supported well with cmake unless you are doing really standard
things (which OSG is not).
XCODE_ATTTRIBUTE should work. Please submit a bug to the cmake bug
tracker with an example.
I was also unable to build the cmake gui that can be downloaded from
the cmake web site with the xcode generator. It seems like that at
least should be possible.
I have never tried building the cmake qt gui with Xcode. I will give
that a try. The qt gui is still considers beta.
And yes, doing this if(version) check around the ADD_DEFINITIONS seems
to be the only way it will work at all on the Mac with cmake 2.6.
CMake 2.6 add_definition parsing was improved.
All that said Xcode support is a bit weak, as non of us really use it
directly. If you have suggestions or patches, please join the CMake
mailing list or submit bugs.
Thanks.
-Bill
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org