From c6d9a7665acdd5785760eee0c69bd1d2a53b6b90 Mon Sep 17 00:00:00 2001 From: Hein-Pieter van Braam Date: Fri, 26 Jan 2018 20:46:56 +0100 Subject: 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. --- platform/osx/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx/SCsub') diff --git a/platform/osx/SCsub b/platform/osx/SCsub index 029e3d808c..07e633a117 100644 --- a/platform/osx/SCsub +++ b/platform/osx/SCsub @@ -23,6 +23,6 @@ files = [ prog = env.add_program('#bin/godot', files) -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) -- cgit v1.2.3