Page 1 of 1

Cegui solution structure question.

Posted: Thu Feb 26, 2009 11:13
by Neutrino
Hi.

I'm building CeGui from source for use with Ogre and I have a question about how the CeGui solution is structured.

I notice that all configurations of the main libraries build to v0-6/bin and all configurations of the samples to v0-6/Samples/bin. By the time you have built all the different possible configurations isn't this going to become somewhat messy? I guess it isn't much of a problem having the main libraries place their output in the same location, their outputs appear to be named clearly enough, but what is the advantage of having the output of all configurations of the samples build to the same location instead of into v0-6/Samples/bin/Debug, v0-6/Samples/bin/Release, v0-6/Samples/bin/Debug_Static etc?

I ask because I'm strongly inclined to change it but I was wondering whether there was a reason it was done the way it is which I've overlooked.

Posted: Thu Feb 26, 2009 13:14
by CrazyEddie
Hi,

It's more of a historical / "it's always been that way" type reason. There was a time when the datafiles contained relative path information, and so we needed to ensure the same layout on all systems - these days that's not so much of an issue (so it could be changed if enough people wanted it).

If you do decide to change it locally, and want to run things from those output directories, you may need to make sure your resource provider path specifications are updated (for example from "../datafiles/imagsets" to "../../datafiles/imagsests" etc).

CE.