1

(9 replies, posted in Gossip)

dbacchet wrote:

Hi Igalic

I am, personally,  a big fan of build systems (in particular scons) and I use them *especially* or small size projects, since with a few lines I can create projects that at the end will be maintained automatically. But I agree 100% with you saying that it's only my opinion and depends a lot on the way everyone is used to work.
What I believe is that if you work alone on a project, then using an IDE it's easies, but working in a team an the same IDE is always a pain. And the same for external dependencies

I put in place a set of scons scripts for building maratis and all the external dependencies, it took me a couple of days and now it builds on both OSX and Windows; the only requirement is to have python installed on the system, and in the osx case it's already there. Now I'm working on packaging everything in a bundle for the app and in a framework for the core/engine libs

Excellent smile Can't wait to try it out. Have you thought about packaging/building it for the iPhone?


About your experience with OSX and especially iphone, if I encounter any problem, can I ask you for some suggestions? probably you already found solutions for the problems I can get in smile

thanks!!! Davide

Of course, I'll help in any way I can.

Ivan

2

(9 replies, posted in Gossip)

I have experience in Mac/iPhone development and would like to help out with this. I'm strained for time so if there's someone who can fix it quickly, even better. But if not, I'll take a look.
On MacOS X, the typical way to do this would be to distribute a Framework instead of just .dylib. A framework contains the required libraries, but also headers and any other support data. I'll know more when I take a better look at the code.

As for build systems, my personal opinion is that while they are invaluable for some projects and situations, they may not be the perfect solution here. If you had to support 20 different platforms/compilers, it would probably be too much work to keep the project files up to date. But as long as it doesn't go over 4-5, I think a build system such as SCons or CMake are more overhead than they're worth. They do require a more intimate knowledge of the compiler system and platform you're compiling for and understanding the intricacies related to each. Compiling a project directly using the compiler is much more work than using the IDE to generate most of the parameters for you.
In addition to that, requiring Windows or Mac users to install such a system may be an annoyance. This is not the same as with Blender for example, where nobody except developers will need the source code.
Again, it's just my opinion - take a look for yourself and see if you find the build systems useful.