ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/SConstruct
(Generate patch)

Comparing ray/SConstruct (file contents):
Revision 1.20 by schorsch, Mon Jan 8 13:38:37 2018 UTC vs.
Revision 1.21 by schorsch, Tue Jan 9 00:08:57 2018 UTC

# Line 11 | Line 11 | def set_pre_opts(testenv):
11          if testenv['CFG_PLATSYS'] == 'Windows':
12                  # no default, will select the most recent one when empty
13                  vars.Add('MSVC_VERSION', 'Microsoft VC Version',  )
14 +        else: # not yet supported on Windows
15 +                vars.Add('PMAP_OOC',  'Build Pmap with Out-of-core Data',  1)
16          vars.Update(testenv)
17          return vars
18  
# Line 62 | Line 64 | prevars = set_pre_opts(testenv)
64   env = Environment(variables=prevars)
65   env.Decider('timestamp-match')
66  
67 + if env.get('PMAP_OOC', 0) in (0,'0','','n','no','false',False,None):
68 +        print('Building Photon-Maps with In-core KD-Tree')
69 + else:
70 +        print('Building Photon-Maps with Out-of-core Octree')
71 +
72   from build_utils import install
73   script_b = Builder(action = install.install_script, suffix = '')
74   env.Append(BUILDERS={'InstallScript': script_b})
# Line 133 | Line 140 | env.Alias('test',    ['#test'])
140   env.Alias('install', ['bininstall', 'rlibinstall', 'maninstall'])
141  
142   # vi: set ts=4 sw=4 :
143 + # vim: set syntax=python :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines