diff options
Diffstat (limited to 'platform/windows')
| -rw-r--r-- | platform/windows/SCsub | 2 | ||||
| -rw-r--r-- | platform/windows/detect.py | 1 | 
2 files changed, 2 insertions, 1 deletions
diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 604896b0db..8965b80fb7 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -39,5 +39,5 @@ if env['vsproj']:          env.vs_srcs = env.vs_srcs + ["platform/windows/" + str(x)]  if not os.getenv("VCINSTALLDIR"): -    if env["debug_symbols"] == "full" or env["debug_symbols"] == "yes": +    if (env["debug_symbols"] == "full" or env["debug_symbols"] == "yes") and env["separate_debug_symbols"]:          env.AddPostAction(prog, make_debug_mingw) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index bd05d5605d..22d04153c8 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -69,6 +69,7 @@ def get_opts():          # Vista support dropped after EOL due to GH-10243          ('target_win_version', 'Targeted Windows version, >= 0x0601 (Windows 7)', '0x0601'),          EnumVariable('debug_symbols', 'Add debug symbols to release version', 'yes', ('yes', 'no', 'full')), +        BoolVariable('separate_debug_symbols', 'Create a separate file with the debug symbols', False),      ]  |