virtualx-engine/modules
Rémi Verschelde c320a82213 SCons: Add 'split_libmodules' option to workaround linker issue
The new 'split_libmodules=yes' option is useful to work around linker
command line size limitations when linking a huge number of objects.
We're currently over 64k chars when linking libmodules.a on Windows
with MinGW, which triggers issues as seen in #30892.

Even on Linux, we can also reach linker command line size limitations
by adding more custom modules.

We force this option to True for MinGW on Windows, which fixes #30892.

Additional changes to lib splitting:

- Fix linking of the split module libs with interdependent symbols,
  hacking our way into LINKCOM and SHLINKCOM to set the `--start-group`
  and `--end-group` flags.
- Fix Python 3 compatibility in `methods.split_lib()`.
- Drop seemingly obsolete condition for 'msys' on 'posix'.
- Drop the unnecessary 'split_drivers' as the drivers lib is no longer
  too big since we moved all thirdparty builds to modules.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2019-12-11 15:40:28 +01:00
..
arkit iOS modular build and export implementation. 2019-12-01 21:57:18 +02:00
assimp Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
bmp Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
bullet Check that motion is not zero before doing a sweep test. 2019-12-09 09:21:38 +01:00
camera Fix compile error for Windows on Linux 2019-12-04 08:06:07 +09:00
csg Replace vector == and is_zero_approx(distance) with is_equal_approx 2019-10-14 16:47:42 -04:00
cvtt Allow building cvtt with system squish 2019-09-23 02:59:59 -07:00
dds Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
enet Add ENet option to disable server relaying. 2019-11-27 11:48:31 +01:00
etc Memory leak and crash fixes 2019-11-10 09:49:13 +01:00
freetype Fix missing z_verbose and z_error symbols in debug iOS build. 2019-10-25 15:51:17 +03:00
gdnative Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers 2019-12-10 08:25:31 +01:00
gdscript Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers 2019-12-10 08:25:31 +01:00
gridmap Merge pull request #33997 from akien-mga/doc-makerst-escape 2019-12-01 11:52:20 +01:00
hdr Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' 2019-08-17 13:31:22 +02:00
jpg Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
jsonrpc Add missing semicolons to BIND_ENUM_CONSTANT macro uses 2019-10-02 09:57:12 +02:00
mbedtls Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
mobile_vr doc: Add default values to all properties 2019-06-30 13:58:07 +02:00
mono Merge pull request #34181 from van800/rider 2019-12-11 09:20:31 +01:00
ogg
opensimplex doc: Fix parsing of self-closing XML tags 2019-09-24 13:34:05 +02:00
opus Revert "Update opus to 1.3.1 and opusfile to 0.11" 2019-11-18 09:56:48 +01:00
pvr Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/' 2019-08-12 10:15:54 +02:00
recast Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
regex pcre2: Use scons option to disable JIT on some platforms 2019-11-20 08:54:52 +01:00
squish Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/' 2019-08-12 10:15:54 +02:00
stb_vorbis AudioStreamOGGVorbis: Expose loop and loop_offset as properties 2019-11-11 15:14:37 +01:00
svg Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/' 2019-08-12 10:15:54 +02:00
tga Added release function to PoolVector::Access. 2019-07-06 12:04:27 +01:00
theora Memory leak and crash fixes 2019-11-10 09:49:13 +01:00
tinyexr Remove .exr saver debug print 2019-11-27 17:17:29 +01:00
upnp SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines 2019-07-03 09:59:04 +02:00
vhacd SCons: Enable C++11 on the whole codebase 2019-07-22 17:17:30 +02:00
visual_script Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers 2019-12-10 08:25:31 +01:00
vorbis Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
webm Memory leak and crash fixes 2019-11-10 09:49:13 +01:00
webp Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' 2019-08-17 13:31:22 +02:00
webrtc doc: Fix parsing of self-closing XML tags 2019-09-24 13:34:05 +02:00
websocket Fix Visual Studio throwing C4334 warning. 2019-11-15 14:11:12 +01:00
xatlas_unwrap Remove all uses of ERR_EXPLAIN macros. 2019-11-11 10:24:04 +01:00
register_module_types.h
SCsub SCons: Add 'split_libmodules' option to workaround linker issue 2019-12-11 15:40:28 +01:00