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.1 by schorsch, Tue Oct 21 19:27:28 2003 UTC vs.
Revision 1.3 by schorsch, Sun Jul 4 12:08:47 2004 UTC

# Line 1 | Line 1
1  
2 # Notes to people who come after:
3 #
4 # In general, only use '/' as a path separator in *nix-specific code, use
5 # os.path.join() for everythign else
6
2   import os
3   import sys
4   import string
# Line 17 | Line 12 | def set_opts(env):
12      opts.Add('RAD_BINDIR',  'Install executables here',   env['RAD_BINDIR'])
13      opts.Add('RAD_RLIBDIR', 'Install support files here', env['RAD_RLIBDIR'])
14      opts.Add('RAD_MANDIR',  'Install man pages here',     env['RAD_MANDIR'])
15 +    opts.Add('RAD_DEBUG',   'Build a debug version',  0)
16      opts.Update(env)
17      opts.Save(OPTFILE, env)
18      Help(opts.GenerateHelpText(env, sort=cmp))
# Line 51 | Line 47 | env = Environment()
47  
48   # configure platform-specific stuff
49   from build_utils import load_plat
50 < load_plat.load_plat(env, platform=None)
50 > load_plat.load_plat(env, ARGUMENTS, platform=None)
51  
52   # override options
53   set_opts(env)
# Line 69 | Line 65 | Export('env')
65   SConscript(os.path.join('src', 'common', 'SConscript'))
66   post_common_setup(env)
67   for d in Split('meta cv gen ot rt px hd util cal'):
68 +    print d
69      SConscript(os.path.join('src', d, 'SConscript'))
70  
71   if string.find(string.join(sys.argv[1:]), 'install') > -1:
# Line 85 | Line 82 | env.Alias('test',    ['#src/test'])
82   env.Alias('install', ['bininstall', 'rlibinstall', 'maninstall'])
83  
84   # Further virtual targets are defined locally:
85 <
86 < # meta_special -> mt1601 okimate imagew mt160 mx80 impress aed5
87 < #                 tcurve tscat tbar mtext libt4014.a plotout t4014
88 < # meta_special_install
89 <
90 < # px_special   -> ra_im, t4027, paintjet, mt160t, greyscale, colorscale, d48c
91 < # px_special_install
95 <
96 < # util_special -> scanner, makedist
97 < # util_special_install
85 > # meta_special: mt1601 okimate imagew mt160 mx80 impress aed5
86 > #               tcurve tscat tbar mtext libt4014.a plotout t4014
87 > # px_special:   ra_im, t4027, paintjet, mt160t, greyscale, colorscale, d48c
88 > # util_special: scanner, makedist (not for Windows yet)
89 > env.Alias('special', ['meta_special', 'px_special', 'util_special'])
90 > env.Alias('special_install', ['meta_special_install',
91 >                'px_special_install', 'util_special_install'])
92  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines