From: "martin.lavery" <[EMAIL PROTECTED]>
Hey I'd like to the osgviewerCocoa examples built, currently there is no CMakelist.txt file.. Has anyone already written one or have any suggestions about writing one? Kind regards, martin
Hi Martin, Glad to have you aboard. This is obviously on my todo list as I wrote the thing and also am one of the prime architects of the new CMake build system, but I haven't gotten it done yet :) Since this example has some resources that need to go in the bundle ( (localized) Nib file(s), custom Info.plist, localized strings files), it requires some extra CMake commands related to bundling to properly build. I think the Info.plist gets a little messy though because I think CMake wants to use a stock one (based on Carbon) and you may have to go out of your way to overwrite it. However, you do want to substitute the proper version information (and other information) into the new Info.plist. This poses an additional challenge because the convenient thing to do is put a easy to substitute marker in the Info.plist, but this makes it impossible to use the Info.plist as-is without processing which would complicate matters for things trying to use it directly (like the Xcode project). Doxygen actually has the same problem. Anyway, I'll eventually get around to this so you can pass on this if you want to. But time is tight with WWDC approaching. I'm planning to focus my little free time this week to getting the Xcode project up and running again so we have something that is fully working. So I may not get back to the CMake stuff until after WWDC. Thanks, Eric _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
