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

Comparing ray/SConstruct (file contents):
Revision 1.4 by schorsch, Thu Oct 21 15:47:11 2004 UTC vs.
Revision 1.7 by schorsch, Tue Dec 23 15:03:58 2008 UTC

# Line 4 | Line 4 | import sys
4   import string
5  
6   OPTFILE = 'rayopts.py'
7 SourceSignatures('timestamp')
7   def set_opts(env):
8      # XXX add some caching
9      opts = Options(OPTFILE, ARGUMENTS)
# Line 26 | Line 25 | def allplats_setup(env):
25      from build_utils import find_libs
26      find_libs.find_x11(env)
27      find_libs.find_gl(env) # OpenGL
28 <    #find_libs.find_pixar(env) # PIXAR_LIB for src/px/ra_pixar.c
28 >    find_libs.find_libtiff(env)
29  
30   def post_common_setup(env):
31      env.Append(CPPPATH = [os.path.join('#src', 'common')])
# Line 44 | Line 43 | def shareinstall_setup(env):
43  
44   # Set up build environment
45   env = Environment()
46 + env.Decider('timestamp-match')
47  
48   if os.name == 'posix':
49          from build_utils import install
# Line 79 | Line 79 | for d in Split('meta cv gen ot rt px hd util cal'):
79   if string.find(string.join(sys.argv[1:]), 'install') > -1:
80          shareinstall_setup(env)
81  
82 + Default('.')
83 +
84   # virtual targets
85   env.Alias('bininstall',  '$RAD_BINDIR')
86   env.Alias('rlibinstall', '$RAD_RLIBDIR')
# Line 87 | Line 89 | env.Alias('maninstall',  '$RAD_MANDIR')
89   env.Alias('build',   ['#bin'])
90   env.Alias('test',    ['#src/test'])
91   env.Alias('install', ['bininstall', 'rlibinstall', 'maninstall'])
90
91 # Further virtual targets are defined locally:
92 # meta_special: mt1601 okimate imagew mt160 mx80 impress aed5
93 #               tcurve tscat tbar mtext libt4014.a plotout t4014
94 # px_special:   ra_im, t4027, paintjet, mt160t, greyscale, colorscale, d48c
95 # util_special: scanner, makedist (not for Windows yet)
96 env.Alias('special', ['meta_special', 'px_special', 'util_special'])
97 env.Alias('special_install', ['meta_special_install',
98                'px_special_install', 'util_special_install'])
92  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines