Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/SConscript
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | if env['WITH_BF_BULLET']: | ||||
| defs.append('WITH_BULLET') | defs.append('WITH_BULLET') | ||||
| if env['WITH_BF_GAMEENGINE']: | if env['WITH_BF_GAMEENGINE']: | ||||
| incs.append('#/extern/recastnavigation') | incs.append('#/extern/recastnavigation') | ||||
| defs.append('WITH_GAMEENGINE') | defs.append('WITH_GAMEENGINE') | ||||
| if env['WITH_BF_INTERNATIONAL']: | if env['WITH_BF_INTERNATIONAL']: | ||||
| defs.append('WITH_INTERNATIONAL') | defs.append('WITH_INTERNATIONAL') | ||||
| if env['WITH_BF_OPENVDB']: | |||||
| incs.append('../openvdb') | |||||
| defs.append('WITH_MOD_PARTMESHER') | |||||
| else: | |||||
| from os import path | |||||
| sources.remove(path.join('intern', 'MOD_openvdb_util.c')) | |||||
| if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): | if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): | ||||
| incs.append(env['BF_PTHREADS_INC']) | incs.append(env['BF_PTHREADS_INC']) | ||||
| env.BlenderLib(libname='bf_modifiers', sources=sources, | env.BlenderLib(libname='bf_modifiers', sources=sources, | ||||
| includes=incs, defines=defs, | includes=incs, defines=defs, | ||||
| libtype=['core', 'player'], priority=[80, 40]) | libtype=['core', 'player'], priority=[80, 40]) | ||||