/[escript]/trunk/tools/CppUnitTest/SConstruct
ViewVC logotype

Diff of /trunk/tools/CppUnitTest/SConstruct

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

revision 241 by jgs, Mon Nov 28 06:14:47 2005 UTC revision 246 by jgs, Tue Nov 29 04:27:00 2005 UTC
# Line 15  EnsureSConsVersion(0,96) Line 15  EnsureSConsVersion(0,96)
15  esysroot = Dir('#../..')  esysroot = Dir('#../..')
16  dodebug = 0  dodebug = 0
17  usegcc = 0  usegcc = 0
18    options = None
19    
20  #  #
21  # import configuration variables passed in from  # import configuration variables passed in from
# Line 31  if ARGUMENTS.get('debug',0): Line 32  if ARGUMENTS.get('debug',0):
32  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
33    usegcc = 1    usegcc = 1
34    
35    if ARGUMENTS.get('options',0):
36      options = ARGUMENTS.get('options',0)
37    
38  #  #
39  # determine platform  # determine platform
40    
# Line 65  if hostname=='ess': Line 69  if hostname=='ess':
69  if usegcc==1:  if usegcc==1:
70    from gcc_options import *    from gcc_options import *
71    
72    if options!=None:
73      exec "from " + options + " import *"
74    
75  if dodebug==1:  if dodebug==1:
76    cxx_flags=cxx_flags_debug    cxx_flags=cxx_flags_debug
77    

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

  ViewVC Help
Powered by ViewVC 1.1.26