ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/SConscript
Revision: 1.3
Committed: Mon Apr 21 07:31:29 2008 UTC (16 years, 6 months ago) by schorsch
Branch: MAIN
Changes since 1.2: +1 -1 lines
Log Message:
Scons update for mingw.

File Contents

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