[Scummvm-devel] DS with plugins
Max Horn
max at quendi.de
Thu Jul 29 18:46:50 CEST 2010
Hi Neil, (CC to -devel, in case we have more volunteers to help out with this... :)
Am 29.07.2010 um 14:23 schrieb Neil:
[...]
> I should have some time to work on ScummVM late next week, so I could probably then have a go at fixing your issue with crashing in the trunk build.
I'd appreciate if you then could also give the configure based build system a try. Ideally, we can at some point completely switch to that. Here are the things it is currently missing compared to the old makefile.M ost should be fairly easy to add.
* No support for USE_DEBUGGER and USE_PROFILER yet. I envision that we would integrate them with the --enable-debug and --enable-profiling configure options, I simply haven't gotten around to od that
* To generate builds A, B, C, ... you currently have to invoke configure multiple times, with special settings (see comment in ds.mk). However, this could be automated using a simple script, which generates subdirs for each build, and runs configure in those subdirs with the right parameters (all builds would still share the same set of source code files, thanks to our "out of tree" building support).
* The DS_BUILD_A, DS_BUILD_B, ... #defines are not being set. My hope is that we can get rid of these (almost) completely. In the meantime, it should be possible to get them by adding the -DDS_BUILD_A to the CPPFLAGS before invoking configure.
* The LOGO makefile var cannot be set right now. As a workaround, set it when calling make (example follows below).
* I modified the list of files that get optimized for speed / size very slightly. But it is now very easy to fine-tune on a file-by-file basis, so no big deal.
* I may have overlooked something... :)
To sum this up in an example: To approximate build A, one could use something like this:
CPPFLAGS="$CPPFLAGS -DDS_BUILD_A" \
PATH/TO/SCUMMVM-SRC/configure \
--host=ds --disable-debug --disable-all-engines--enable-scumm
And then
make LOGO=logoa.bmp
Cheers,
Max
More information about the Scummvm-devel
mailing list