diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-26 20:46:56 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-26 20:46:56 +0100 |
commit | c6d9a7665acdd5785760eee0c69bd1d2a53b6b90 (patch) | |
tree | 5b35afb4f115d108948c9fb59ebf24fd758ccb19 /platform/windows/SCsub | |
parent | 9ba5fb87f009faea406e3968f4d88234752d635b (diff) |
Make separate debug symbols opt-in
This adds a separate_debug_symbols option to the x11, windows, and osx
targets. This will default to adding normal debugging symbols to the
artifacts and only splits them when separate_debug_symbols=yes on the
Scons command line.
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r-- | platform/windows/SCsub | 2 |
1 files changed, 1 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) |