diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-26 21:25:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-26 21:25:20 +0100 |
commit | 88aed259f90c6f49e22f57a7eae6c2632010bccd (patch) | |
tree | 5b35afb4f115d108948c9fb59ebf24fd758ccb19 /platform/windows | |
parent | 9ba5fb87f009faea406e3968f4d88234752d635b (diff) | |
parent | c6d9a7665acdd5785760eee0c69bd1d2a53b6b90 (diff) |
Merge pull request #16092 from hpvb/make-separate-debug-symbols-opt-in
Make separate debug symbols opt-in
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), ] |