mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
SCons: Add option to toggle warnings (on by default)
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
(cherry picked from commit 31107daa1a)
This commit is contained in:
parent
a0b0dff6fd
commit
d8f32637be
10 changed files with 27 additions and 18 deletions
|
|
@ -77,7 +77,7 @@ def configure(env):
|
|||
# retain function names at the cost of file size, for backtraces and profiling
|
||||
env.Append(LINKFLAGS=['--profiling-funcs'])
|
||||
elif (env["target"] == "debug"):
|
||||
env.Append(CCFLAGS=['-O1', '-D_DEBUG', '-Wall', '-g', '-DDEBUG_ENABLED'])
|
||||
env.Append(CCFLAGS=['-O1', '-D_DEBUG', '-g', '-DDEBUG_ENABLED'])
|
||||
env.Append(LINKFLAGS=['-O1', '-g'])
|
||||
|
||||
# TODO: Move that to opus module's config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue