Re: [osg-users] CMake and OSX

2008-06-14 Thread Bill Hoffman
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 gener

Re: [osg-users] CMake and OSX

2008-06-14 Thread Eric Sokolowsky
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_ATTRI

Re: [osg-users] CMake and OSX

2008-06-13 Thread Jean-Sébastien Guay
Hi Eric, I'm using this change (I'm using the latest svn) but it doesn't fix the problem on OSX. I added a conditional around line 349 that checks the version of cmake in use and that seems to solve the problem for me. I'm attaching my CMakeLists.txt to this message if anyone wants to try it

Re: [osg-users] CMake and OSX

2008-06-12 Thread Eric Sokolowsky
On Thu, Jun 12, 2008 at 1:14 PM, Jean-Sébastien Guay < [EMAIL PROTECTED]> wrote: > Hello Eric, > > Is there any reason we shouldn't require CMake 2.6 when compiling the >> latest OSG? >> > > I don't think it's really that useful to require that everyone update their > CMake version to 2.6 just fo

Re: [osg-users] CMake and OSX

2008-06-12 Thread Jean-Sébastien Guay
Hello Eric, Is there any reason we shouldn't require CMake 2.6 when compiling the latest OSG? I don't think it's really that useful to require that everyone update their CMake version to 2.6 just for this. We can work around it through tweaks to the CMakeLists.txt instead. Though we have to

Re: [osg-users] CMake and OSX

2008-06-12 Thread Eric Sokolowsky
Yes, I am using Cmake 2.6, with OSG svn, on the Mac. The symptoms of the problem is that when Xcode tries to open a project generated by cmake, it complains about syntax problems in the project file. Eric Wing worked around the problem by not allowing a changed postfix. Is there any reason we shoul

Re: [osg-users] CMake and OSX

2008-06-12 Thread Jean-Sébastien Guay
Hi Eric, The latest SVN of osg has a problem when generating xcode projects with cmake. In the main directory, CMakeLists.txt on line 349, is the following: ADD_DEFINITIONS("-DOSG_DEBUG_POSTFIX='\"${CMAKE_DEBUG_POSTFIX}\"'") This causes problems on OSX. I would like to change this line to:

[osg-users] CMake and OSX

2008-06-12 Thread Eric Sokolowsky
The latest SVN of osg has a problem when generating xcode projects with cmake. In the main directory, CMakeLists.txt on line 349, is the following: ADD_DEFINITIONS("-DOSG_DEBUG_POSTFIX='\"${CMAKE_DEBUG_POSTFIX}\"'") This causes problems on OSX. I would like to change this line to: ADD_DEFINIT