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

Diff of /trunk/bruce/SConstruct

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

revision 224 by jgs, Fri Nov 25 00:33:27 2005 UTC revision 246 by jgs, Tue Nov 29 04:27:00 2005 UTC
# Line 16  esysroot = Dir('#..') Line 16  esysroot = Dir('#..')
16  libinstall = None  libinstall = None
17  dodebug = 0  dodebug = 0
18  usegcc = 0  usegcc = 0
19    options = None
20    
21  #  #
22  # import configuration variables passed in from  # import configuration variables passed in from
# Line 36  if ARGUMENTS.get('debug',0): Line 37  if ARGUMENTS.get('debug',0):
37  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
38    usegcc = 1    usegcc = 1
39    
40    if ARGUMENTS.get('options',0):
41      options = ARGUMENTS.get('options',0)
42    
43  #  #
44  # determine platform  # determine platform
45    
# Line 65  options_dir = str(esysroot) + '/scons' Line 69  options_dir = str(esysroot) + '/scons'
69  sys.path.append(options_dir)  sys.path.append(options_dir)
70    
71  if hostname=='ess':  if hostname=='ess':
72    from ess_options import *   from ess_options import *
73    
74    if usegcc==1:
75      from gcc_options import *
76    
77    if options!=None:
78      exec "from " + options + " import *"
79    
80  if dodebug==1:  if dodebug==1:
81    cxx_flags=cxx_flags_debug    cxx_flags=cxx_flags_debug

Legend:
Removed from v.224  
changed lines
  Added in v.246

  ViewVC Help
Powered by ViewVC 1.1.26