--- ray/src/ot/SConscript 2016/03/10 21:43:23 1.8 +++ ray/src/ot/SConscript 2018/01/08 13:38:37 1.10 @@ -1,9 +1,12 @@ +from __future__ import division, print_function, unicode_literals + import os Import('env') # inherit from parent # math libs mlib = env['RAD_MLIB'] +addobj = env.get('ADDOBJNOTIFY') # standard targets bbox = env.Object(source='bbox.c') @@ -12,8 +15,8 @@ PROGS = ( ('oconv', Split('''oconv.c writeoct.c initotypes.c sphere.c o_cone.c o_instance.c''') +[bbox, o_face], []), ('getbbox', Split('getbbox.c readobj2.c init2otypes.c') +[bbox], []), -('obj2mesh', Split('obj2mesh.c cvmesh.c wfconv.c writemesh.c')+[o_face], - ['rtdummy']), +('obj2mesh', Split('obj2mesh.c cvmesh.c wfconv.c writemesh.c')+[o_face,addobj], + []), ) for p in PROGS: prog = env.Program(target=os.path.join(env['RAD_BUILDBIN'], p[0]), @@ -23,3 +26,4 @@ for p in PROGS: # vim: set syntax=python: +# vi: set ts=4 sw=4 :