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

Comparing ray/src/ot/SConscript (file contents):
Revision 1.3 by schorsch, Mon Apr 21 07:31:29 2008 UTC vs.
Revision 1.8 by schorsch, Thu Mar 10 21:43:23 2016 UTC

# Line 6 | Line 6 | Import('env') # inherit from parent
6   mlib = env['RAD_MLIB']
7  
8   # standard targets
9 + bbox = env.Object(source='bbox.c')
10 + o_face = env.Object(source='o_face.c')
11   PROGS = (
12 < ('oconv',    Split('''oconv.c writeoct.c bbox.c initotypes.c
13 <                                   sphere.c o_face.c o_cone.c o_instance.c''')),
14 < ('getbbox',  Split('getbbox.c readobj2.c bbox.c init2otypes.c')),
15 < ('obj2mesh', Split('obj2mesh.c cvmesh.c wfconv.c o_face.c writemesh.c')),
12 > ('oconv',    Split('''oconv.c writeoct.c initotypes.c sphere.c
13 >                                   o_cone.c o_instance.c''') +[bbox, o_face], []),
14 > ('getbbox',  Split('getbbox.c readobj2.c init2otypes.c') +[bbox], []),
15 > ('obj2mesh', Split('obj2mesh.c cvmesh.c wfconv.c writemesh.c')+[o_face],
16 >         ['rtdummy']),
17   )
18   for p in PROGS:
19      prog = env.Program(target=os.path.join(env['RAD_BUILDBIN'], p[0]),
20 <                        source=p[1], LIBS=['rtproc','rtscene','rtpath','rtio','rtmath',
18 <                        'rtargs','rtcont','rtmem','rterror']+mlib)
20 >                        source=p[1], LIBS=['rtrad']+p[2]+mlib)
21      Default(prog)
22      env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
23  
24  
25 + # vim: set syntax=python:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines