Cross-platform builds with OGRE3D via CMake. Any tips?
- by frarees
I've been trying to compile a simple project for both OSX and Windows platforms, using OGRE3D, but I've got some problems on the way.
I'm using CMake to create my platform specific project files (VS solution & Xcode project). Some problems I found are:
OGRE3D source is distributed in 2 flavors, Windows sources and UNIX/OSX sources.
In OSX, compiling dependencies (freetype, FreeImage and specially OIS) is such a pain.
I don't know how to handle precompiled dependencies (they exist for both Win & Mac).
May sound like a noob question, but I would appreciate some tips on this. Resources, forum posts, anything. There exists any "cross-platform base project for OGRE3D" on the net?
Would be really helpful if someone who already managed to do this can bring some light.
Btw, I'm not basing the project on OGRE3D, it's just that is the biggest library I'm probably using, so I depend a lot on it.
Thanks in advantage!