| 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 |
|
|
| 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}) |
| 140 |
|
env.Alias('install', ['bininstall', 'rlibinstall', 'maninstall']) |
| 141 |
|
|
| 142 |
|
# vi: set ts=4 sw=4 : |
| 143 |
+ |
# vim: set syntax=python : |