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

Diff of /trunk/finley/SConstruct

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

revision 249 by jgs, Tue Nov 29 05:29:09 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/finley')
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) + '/finley/li Line 70  libdir = Dir(str(esysroot) + '/finley/li
70  Export(["libdir"])  Export(["libdir"])
71    
72  #  #
73    # set and export python directory
74    
75    pydir = Dir(str(esysroot) + '/finley/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 100  print "             cxx: ", cxx Line 113  print "             cxx: ", cxx
113  print "        platform: ", platform  print "        platform: ", platform
114  print "        hostname: ", hostname  print "        hostname: ", hostname
115  print "      libinstall: ", libinstall  print "      libinstall: ", libinstall
116    print "       pyinstall: ", pyinstall
117  print "############################################"  print "############################################"
118    
119  #  #
120  # call the SConscript to do the actual build  # call the SConscript to do the actual build
121    
122  SConscript('src/finley/SConscript', src_dir='src/finley', build_dir='obj', duplicate=0)  SConscript(dirs=['src/finley'], build_dir='obj/finley', duplicate=0)
123    SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)

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

  ViewVC Help
Powered by ViewVC 1.1.26