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

Comparing ray/src/cv/SConscript (file contents):
Revision 1.1 by schorsch, Tue Oct 21 19:27:28 2003 UTC vs.
Revision 1.2 by schorsch, Mon Oct 27 10:35:42 2003 UTC

# Line 25 | Line 25 | for p in MGFPROGS:
25          Default(prog)
26          env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
27  
28 + trans = env.Object(source="trans.c")
29 +
30   # standard targets
31   PROGS = [
32 < ('thf2rad',   Split('thf2rad.c'),           []),
33 < ('ies2rad',   Split('ies2rad.c'),           ['rt'] + mlib),
34 < ('arch2rad',  Split('arch2rad.c trans.c'),  ['rt'] + mlib),
35 < ('nff2rad',   Split('nff2rad.c'),           []),
36 < ('lampcolor', Split('lampcolor.c'),         ['rt']),
37 < ('tmesh2rad', Split('tmesh2rad.c'),         ['rt'] + mlib),
38 < ('obj2rad',   Split('obj2rad.c trans.c'),   ['rt'] + mlib),
39 < #('mgf2rad',   Split('mgf2rad.c')+[libmgf],  ['rt'] + mlib),
40 < ('rad2mgf',   Split('rad2mgf.c'),           ['rt'] + mlib),
41 < ('mgf2meta',  Split('mgf2meta.c')+[libmgf], ['meta','rt'] + mlib),
32 > ('thf2rad',   ['thf2rad.c'],       []),
33 > ('ies2rad',   ['ies2rad.c'],       ['rtlamps','rtcolor','rtio','rtpath']+ mlib),
34 > ('arch2rad',  ['arch2rad.c',trans],['rtcont','rtmem'] + mlib),
35 > ('nff2rad',   ['nff2rad.c'],       []),
36 > ('lampcolor', ['lampcolor.c'],     ['rtlamps','rtcolor','rtpath']),
37 > ('tmesh2rad', ['tmesh2rad.c'],     ['rtscene','rtmath'] + mlib),
38 > ('obj2rad',   ['obj2rad.c',trans],
39 >    ['rtscene','rtargs','rtio','rtcont','rtmem','rtmath','rterror'] + mlib),
40 > ('mgf2rad',   ['mgf2rad.c'],       ['rtscene','rtcolor','mgf'] + mlib),
41 > ('rad2mgf',   ['rad2mgf.c'],
42 >        ['rtproc', 'rtpath', # for win_popen()
43 >    'rtscene','rtio','rtcolor','rtcont','rtmem','rterror'] + mlib),
44 > ('mgf2meta',  ['mgf2meta.c'],
45 >    ['meta','rtmath','rtcont','rtmem','rterror','mgf'] + mlib),
46   ]
41 if not os.name == 'nt': # XXX until we sort out the library conflicts
42        PROGS.append(('mgf2rad',   Split('mgf2rad.c')+[libmgf],  ['rt'] + mlib))
47   for p in PROGS:
48          prog = env.Program(target=radbin(p[0]), source=p[1], LIBS=p[2])
49          Default(prog)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines