From 25f0c33bb3509958a532bdd72b3945c1d5d1cad5 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 17 Jun 2009 10:14:32 +0100 Subject: scons: Debug build by default. Match what autotools and other build systems do by default. --- scons/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons') diff --git a/scons/generic.py b/scons/generic.py index 29ddf76d6f..0b3ef5a15d 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -264,7 +264,7 @@ def generate(env): pass # Build type - env['debug'] = _bool_map[ARGUMENTS.get('debug', 'no')] + env['debug'] = _bool_map[ARGUMENTS.get('debug', 'yes')] env['profile'] = _bool_map[ARGUMENTS.get('profile', 'no')] # Put build output in a separate dir, which depends on the current -- cgit v1.2.3 From c6f71eabd877e14583725a29790872e96ff4dbb2 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 17 Jun 2009 15:24:06 +0100 Subject: Revert "scons: Debug build by default." Per Brian's request. This reverts commit 25f0c33bb3509958a532bdd72b3945c1d5d1cad5. --- common.py | 2 +- scons/generic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scons') diff --git a/common.py b/common.py index 2d1b258087..a687efc86f 100644 --- a/common.py +++ b/common.py @@ -53,7 +53,7 @@ def AddOptions(opts): from SCons.Variables.EnumVariable import EnumVariable as EnumOption except ImportError: from SCons.Options.EnumOption import EnumOption - opts.Add(BoolOption('debug', 'debug build', 'yes')) + opts.Add(BoolOption('debug', 'debug build', 'no')) opts.Add(BoolOption('profile', 'profile build', 'no')) opts.Add(BoolOption('quiet', 'quiet command lines', 'yes')) opts.Add(EnumOption('machine', 'use machine-specific assembly code', default_machine, diff --git a/scons/generic.py b/scons/generic.py index 0b3ef5a15d..29ddf76d6f 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -264,7 +264,7 @@ def generate(env): pass # Build type - env['debug'] = _bool_map[ARGUMENTS.get('debug', 'yes')] + env['debug'] = _bool_map[ARGUMENTS.get('debug', 'no')] env['profile'] = _bool_map[ARGUMENTS.get('profile', 'no')] # Put build output in a separate dir, which depends on the current -- cgit v1.2.3 From 3cf92e936afbef91b856f064742f1bc2ad9e601a Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 19 Jun 2009 15:39:59 +0100 Subject: scons: Output the friendly "Linking ..." message when creating DLLs with MinGW. --- scons/crossmingw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scons') diff --git a/scons/crossmingw.py b/scons/crossmingw.py index bf81f16fd6..3aed484350 100644 --- a/scons/crossmingw.py +++ b/scons/crossmingw.py @@ -108,7 +108,7 @@ def shlib_emitter(target, source, env): return (target, source) -shlib_action = SCons.Action.Action(shlib_generator, generator=1) +shlib_action = SCons.Action.Action(shlib_generator, '$SHLINKCOMSTR', generator=1) res_action = SCons.Action.Action('$RCCOM', '$RCCOMSTR') -- cgit v1.2.3