virtualx-engine/platform/windows
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
..
export Don't stop export if rcedit path is invalid 2019-12-03 13:42:24 +01:00
context_gl_windows.cpp Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
context_gl_windows.h Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
crash_handler_windows.cpp Check project settings live before lookup in crash handler 2019-05-23 20:06:56 +01:00
crash_handler_windows.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
detect.py SCons: Add 'split_libmodules' option to workaround linker issue 2019-12-11 15:40:28 +01:00
godot.ico Make the Windows icon file smaller 2017-06-20 14:38:50 +02:00
godot.natvis Update natvis file to display Node class correctly in Visual Studio debugger 2019-10-29 10:24:29 +01:00
godot_res.rc Remove "Editor" from Windows PE file description 2019-06-11 15:22:03 +02:00
godot_windows.cpp Add embedded PCK option to PC platforms 2019-07-03 21:58:12 +02:00
joypad_windows.cpp Fix endless controller iteration 2019-06-17 18:01:09 +02:00
joypad_windows.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
key_mapping_windows.cpp Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
key_mapping_windows.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
lang_table.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_windows.cpp Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
os_windows.h iOS modular build and export implementation. 2019-12-01 21:57:18 +02:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
platform_windows_builders.py Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00
power_windows.cpp Fix compilation warnings in JS and Windows builds 2019-06-15 14:40:45 +02:00
power_windows.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
SCsub iOS modular build and export implementation. 2019-12-01 21:57:18 +02:00
windows_terminal_logger.cpp Fix compilation warnings in JS and Windows builds 2019-06-15 14:40:45 +02:00
windows_terminal_logger.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00