ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/SConscript
Revision: 1.4
Committed: Sun Apr 27 17:22:49 2008 UTC (16 years ago) by schorsch
Branch: MAIN
CVS Tags: rad3R9
Changes since 1.3: +1 -1 lines
Log Message:
Yet some mingw related changes.

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','rtproc']+mlib)
19 Default(prog)
20 env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
21
22