[Scummvm-devel] Proposal: restructuring the source tree
Florian Schulze
florian.proff.schulze at gmx.net
Fri Aug 16 08:18:06 CEST 2002
I accidently send this to ender only, but I have added #3 now.
> This is due to a compiler limitation with Microsoft Visual Studio.
> It places all object files in one directory, thus you cannot have two
> files with the same name in the same project.
>
> Eg,
> scumm/debug.cpp => release/debug.obj
> simon/debug.cpp => release/debug.obj
> = Rather broken compile :)
>
>
> - Ender
There would be two solutions to this:
1. Sepearate Simon into it's own binary. I don't know how much Scumm and
Simon have in common, so it might be an option.
2. After the reorganisation some subdirectorys could be build as a static
library. In the project files you would just set the correct dependencies
and add the correct libs and everything else seems like it's only one build
process.
3. You can set the output position seperatly for every sourcefile in the
options. It's a bit work, but it would be only onetime work.
Florian
ps: I'm just reading this list and are not involved directly with the
coding.
pss: I'm the |crow| guy from IRC a while back.
More information about the Scummvm-devel
mailing list