/[escript]/trunk/bruce/SConstruct
ViewVC logotype

Diff of /trunk/bruce/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 267 by jgs, Tue Nov 29 04:27:00 2005 UTC revision 268 by jgs, Wed Nov 30 01:39:47 2005 UTC
# Line 14  EnsureSConsVersion(0,96) Line 14  EnsureSConsVersion(0,96)
14    
15  esysroot = Dir('#..')  esysroot = Dir('#..')
16  libinstall = None  libinstall = None
17    pyinstall = None
18  dodebug = 0  dodebug = 0
19  usegcc = 0  usegcc = 0
20  options = None  options = None
# Line 31  if ARGUMENTS.get('libinstall',0): Line 32  if ARGUMENTS.get('libinstall',0):
32    libinstall = ARGUMENTS.get('libinstall',0)    libinstall = ARGUMENTS.get('libinstall',0)
33  Export(["libinstall"])  Export(["libinstall"])
34    
35    if ARGUMENTS.get('pyinstall',0):
36      pyinstall = ARGUMENTS.get('pyinstall',0)
37    else:
38      pyinstall = Dir(str(esysroot) + '/esys/bruce')
39    Export(["pyinstall"])
40    
41  if ARGUMENTS.get('debug',0):  if ARGUMENTS.get('debug',0):
42    dodebug = 1    dodebug = 1
43    
# Line 63  libdir = Dir(str(esysroot) + '/bruce/lib Line 70  libdir = Dir(str(esysroot) + '/bruce/lib
70  Export(["libdir"])  Export(["libdir"])
71    
72  #  #
73    # set and export python directory
74    
75    pydir = Dir(str(esysroot) + '/bruce/lib/py_src')
76    Export(["pydir"])
77    
78    #
79  # load and export configuration settings  # load and export configuration settings
80    
81  options_dir = str(esysroot) + '/scons'  options_dir = str(esysroot) + '/scons'
# Line 96  print "             cxx: ", cxx Line 109  print "             cxx: ", cxx
109  print "        platform: ", platform  print "        platform: ", platform
110  print "        hostname: ", hostname  print "        hostname: ", hostname
111  print "      libinstall: ", libinstall  print "      libinstall: ", libinstall
112    print "       pyinstall: ", pyinstall
113  print "############################################"  print "############################################"
114    
115  #  #
116  # call the SConscript to do the actual build  # call the SConscript to do the actual build
117    
118  SConscript('src/Bruce/SConscript', src_dir='src/Bruce', build_dir='obj', duplicate=0)  SConscript(dirs=['src/Bruce'], build_dir='obj/Bruce', duplicate=0)
119    SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)

Legend:
Removed from v.267  
changed lines
  Added in v.268

  ViewVC Help
Powered by ViewVC 1.1.26