ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/SConscript
Revision: 1.4
Committed: Mon Apr 21 07:31:28 2008 UTC (16 years, 3 months ago) by schorsch
Branch: MAIN
CVS Tags: rad4R2P2, rad5R0, rad4R2, rad4R1, rad4R0, rad3R9, rad4R2P1
Changes since 1.3: +1 -1 lines
Log Message:
Scons update for mingw.

File Contents

# User Rev Content
1 schorsch 1.1 import os
2    
3     Import('env') # inherit from parent
4    
5     mlib = env['RAD_MLIB']
6    
7     # standard targets
8     PROGS = (
9     # name sources libs
10 schorsch 1.3 ('icalc', Split('calc.c'), ['rtfunc','rtmem','rtcont'] + mlib),
11 schorsch 1.2 ('ev', Split('ev.c'), ['rtfunc','rtmem','rtcont'] + mlib),
12 schorsch 1.4 ('rcalc', Split('rcalc.c'), ['rtfunc','rtmem','rtcont','rtmath'] + mlib),
13 schorsch 1.1 ('total', Split('total.c'), mlib),
14     ('cnt', Split('cnt.c'), []),
15 schorsch 1.3 ('neaten', Split('neat.c'), []),
16     ('rlam', Split('lam.c'), ['rtproc','rtpath','rtio','rterror']),
17 schorsch 1.2 ('tabfunc',Split('tabfunc.c'), ['rtio'] + mlib),
18 schorsch 1.1 ('histo', Split('histo.c'), mlib),
19     )
20     for p in PROGS:
21     prog = env.Program(target=os.path.join(env['RAD_BUILDBIN'], p[0]),
22     source=p[1], LIBS=p[2])
23     Default(prog)
24     env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
25    
26