[Scummvm-devel] PORTERS: Change in the engines defines

Jordi Vilalta jvprat at gmail.com
Tue May 6 05:00:45 CEST 2008


Hi,

I've just commited in rev 31888 a change in the plugins architecture
that will require some small tweaks in the build systems.

Now both static and dynamic plugins can be used at the same time,
allowing the distributed binaries to have all the standard engines
builtin but enabling the loading of external plugins at the same time
(for example to let people test the unstable engines without the need
to use a different executable). With this the static/dynamic selection
can be done on a per-engine basis. This is done by setting the
ENABLE_* defines to STATIC_PLUGIN or DYNAMIC_PLUGIN, which have
replaced the previous less expresive DISABLE_*. If you don't specify
the type of plugin it will be built as static. For example,
ENABLE_SCUMM is the same as ENABLE_SCUMM=STATIC_PLUGIN.

So, if your port doesn't use the configure script, you'll need to
define ENABLE_* for each engine you want to enable in your build. If
you don't do this change you'll probably get an engine-less build ;)

I've tried to propagate these changes to some of the ports which
looked easy to modify, but it will require some testing anyway.

Sorry for the inconvenience.

Regards,

Jordi Vilalta




More information about the Scummvm-devel mailing list