/[escript]/branches/arrayview_from_1695_trunk/esysUtils/test/SConscript
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/esysUtils/test/SConscript

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

revision 227 by jgs, Fri Nov 25 01:49:23 2005 UTC revision 246 by jgs, Tue Nov 29 04:27:00 2005 UTC
# Line 13  EnsureSConsVersion(0,96) Line 13  EnsureSConsVersion(0,96)
13    
14  esysroot = Dir('#../../..')  esysroot = Dir('#../../..')
15  usegcc = 0  usegcc = 0
16    options = None
17    
18  #  #
19  # retreive command-line arguments if any  # retreive command-line arguments if any
# Line 20  usegcc = 0 Line 21  usegcc = 0
21  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
22    usegcc = 1    usegcc = 1
23    
24    if ARGUMENTS.get('options',0):
25      options = ARGUMENTS.get('options',0)
26    
27  #  #
28  # determine platform  # determine platform
29    
# Line 40  sys.path.append(options_dir) Line 44  sys.path.append(options_dir)
44  if hostname=='ess':  if hostname=='ess':
45    from ess_options import *    from ess_options import *
46    
47    if usegcc==1:
48      from gcc_options import *
49    
50    if options!=None:
51      exec "from " + options + " import *"
52    
53  cxx_flags=cxx_flags_debug  cxx_flags=cxx_flags_debug
54    
55  #  #
56  # print out build configuration for this module  # print out build configuration for this module
57    
58  print "####################################################"  print "####################################################"
59  print "Build configuration for module: Bruce unit tests"  print "Build configuration for module: EsysException unit tests"
 print "Build configuration for module: Bruce unit tests"  
60  print "         dodebug:  1"  print "         dodebug:  1"
61  print "          usegcc: ", usegcc  print "          usegcc: ", usegcc
62  print "             cxx: ", cxx  print "             cxx: ", cxx

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

  ViewVC Help
Powered by ViewVC 1.1.26