BUILD: Add option to exclude additional resources from the binary
This commit is contained in:
parent
629f3c69c7
commit
8627aa51e2
2 changed files with 14 additions and 0 deletions
11
configure
vendored
11
configure
vendored
|
@ -210,6 +210,7 @@ _nasm=auto
|
|||
_optimization_level=
|
||||
_default_optimization_level=-O2
|
||||
_nuked_opl=yes
|
||||
_builtin_resources=yes
|
||||
# Default commands
|
||||
_ranlib=ranlib
|
||||
_strip=strip
|
||||
|
@ -1064,6 +1065,8 @@ Optional Features:
|
|||
gles2 for forcing OpenGL ES 2
|
||||
WARNING: only specify this manually if you know what
|
||||
you are doing!
|
||||
--no-builtin-resources do not include additional resources (e.g. engine data, fonts)
|
||||
into the ScummVM binary
|
||||
|
||||
Optional Libraries:
|
||||
--with-alsa-prefix=DIR prefix where alsa is installed (optional)
|
||||
|
@ -1484,6 +1487,9 @@ for ac_option in $@; do
|
|||
--enable-tsan)
|
||||
_enable_tsan=yes
|
||||
;;
|
||||
--no-builtin-resources)
|
||||
_builtin_resources=no
|
||||
;;
|
||||
--with-sdl-prefix=*)
|
||||
arg=`echo $ac_option | cut -d '=' -f 2`
|
||||
_sdlpath="$arg:$arg/bin"
|
||||
|
@ -5645,6 +5651,11 @@ else
|
|||
fi
|
||||
define_in_config_if_yes $_updates 'USE_UPDATES'
|
||||
|
||||
#
|
||||
# Check whether to create a build with all resources files linked into the binary
|
||||
#
|
||||
define_in_config_if_yes "$_builtin_resources" 'BUILTIN_RESOURCES'
|
||||
|
||||
#
|
||||
# Figure out installation directories
|
||||
#
|
||||
|
|
|
@ -21,6 +21,8 @@ ID_GDF_XML DATA "dists/win32/scummvm.gdf.xml"
|
|||
scummclassic.zip FILE "gui/themes/scummclassic.zip"
|
||||
scummmodern.zip FILE "gui/themes/scummmodern.zip"
|
||||
scummremastered.zip FILE "gui/themes/scummremastered.zip"
|
||||
|
||||
#ifdef BUILTIN_RESOURCES
|
||||
#ifdef USE_TRANSLATION
|
||||
translations.dat FILE "gui/themes/translations.dat"
|
||||
#endif
|
||||
|
@ -92,6 +94,7 @@ xeen.ccs FILE "dists/engine-data/xeen.ccs"
|
|||
#if PLUGIN_ENABLED_STATIC(AGI)
|
||||
pred.dic FILE "dists/pred.dic"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION SCUMMVM_VER_MAJOR,SCUMMVM_VER_MINOR,SCUMMVM_VER_PATCH,0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue