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.4 by schorsch, Sun Apr 27 17:22:49 2008 UTC vs.
Revision 1.10 by schorsch, Mon Jan 8 13:38:37 2018 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines