diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-12-10 03:51:13 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-12-10 03:51:13 +0300 |
commit | 11af0ff2702ccd02f5dd7528e3f4c5039c635144 (patch) | |
tree | 103d63cf62f21422944cc22f6b06b33978a523d9 /tools/btools.py | |
parent | ee124514636be9c7456cf856bd4772af4a02ca48 (diff) |
* WITH_BF_RAYOPTIMIZATION cleanup and flag separation by matd.
This adds BF_RAYOPTIMIZATION_SSE_FLAGS through which one can manage
what SSE flags are best for the platform built for.
Note that the ray optimizations coded by jaguarandi are SSE-intrinsics only.
Diffstat (limited to 'tools/btools.py')
-rwxr-xr-x | tools/btools.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/btools.py b/tools/btools.py index d5cc8a543b4..556cb9b901a 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -76,7 +76,8 @@ def validate_arguments(args, bc): 'WITH_BF_FHS', 'BF_VERSION', 'BF_GHOST_DEBUG', - 'WITH_BF_RAYOPTIMIZATION' + 'WITH_BF_RAYOPTIMIZATION', + 'BF_RAYOPTIMIZATION_SSE_FLAGS' ] # Have options here that scons expects to be lists @@ -423,7 +424,9 @@ def read_opts(cfg, args): (BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)), (BoolVariable('BF_GHOST_DEBUG', 'Make GHOST print events and info to stdout. (very verbose)', False)), - (BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False)) + + (BoolVariable('WITH_BF_RAYOPTIMIZATION', 'Enable raytracer SSE/SIMD optimization.', False)), + ('BF_RAYOPTIMIZATION_SSE_FLAGS', 'SSE flags', '') ) # end of opts.AddOptions() return localopts |