diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-09 00:39:56 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-09 00:39:56 +0400 |
commit | 663ce490e0174a90ba3e4ed6f3468301d593958a (patch) | |
tree | f01622031f002343f80e8479ea54cd37a5128ec9 /build_files/scons | |
parent | 48d2aac250624664cd1db77470af0fc45526f3c9 (diff) |
Enable CXX_GUARDEDALLOC support through SCons.
Diffstat (limited to 'build_files/scons')
-rw-r--r-- | build_files/scons/tools/btools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py index 37d9048d70d..737ce40d702 100644 --- a/build_files/scons/tools/btools.py +++ b/build_files/scons/tools/btools.py @@ -92,6 +92,7 @@ def validate_arguments(args, bc): 'WITH_BF_RAYOPTIMIZATION', 'BF_RAYOPTIMIZATION_SSE_FLAGS', 'BF_NO_ELBEEM', + 'WITH_BF_CXX_GUARDEDALLOC', 'BF_VCREDIST' # Windows-only, and useful only when creating installer ] @@ -453,6 +454,7 @@ def read_opts(env, cfg, args): (BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False)), ('BF_RAYOPTIMIZATION_SSE_FLAGS', 'SSE flags', ''), + (BoolVariable('WITH_BF_CXX_GUARDEDALLOC', 'Enable GuardedAlloc for C++ memory allocation tracking.', False)), ('BF_VCREDIST', 'Full path to vcredist', '') ) # end of opts.AddOptions() |