ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/SConscript
Revision: 1.2
Committed: Mon Oct 27 10:35:43 2003 UTC (20 years, 8 months ago) by schorsch
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1, rad3R6, rad3R6P1, rad3R8
Changes since 1.1: +2 -1 lines
Log Message:
Experimental SCons update: Debug builds, split libraries, more Windows targets.

File Contents

# User Rev Content
1 schorsch 1.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 schorsch 1.2 source=p[1], LIBS=['rtproc','rtscene','rtio','rtpath','rtmath',
18     'rtargs','rtcont','rtmem','rterror']+mlib)
19 schorsch 1.1 Default(prog)
20     env.Append(RAD_BININSTALL=[env.Install(env['RAD_BINDIR'], prog)])
21    
22