/[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 241 by jgs, Mon Nov 28 06:14:47 2005 UTC revision 252 by jgs, Tue Nov 29 05:58:03 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    sys_libs = []
18    
19    #
20    # import configuration variables passed in from
21    # calling SConscript (if any)
22    
23    Import('*')
24    
25  #  #
26  # retreive command-line arguments if any  # retreive command-line arguments if any
# Line 20  usegcc = 0 Line 28  usegcc = 0
28  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
29    usegcc = 1    usegcc = 1
30    
31    if ARGUMENTS.get('options',0):
32      options = ARGUMENTS.get('options',0)
33    
34  #  #
35  # determine platform  # determine platform
36    
# Line 43  if hostname=='ess': Line 54  if hostname=='ess':
54  if usegcc==1:  if usegcc==1:
55    from gcc_options import *    from gcc_options import *
56    
57    if options!=None:
58      exec "from " + options + " import *"
59    
60  cxx_flags=cxx_flags_debug  cxx_flags=cxx_flags_debug
61    
62  #  #
63  # print out build configuration for this module  # print out build configuration for this module
64    
65  print "####################################################"  print "####################################################"
66  print "Build configuration for module: Bruce unit tests"  print "Build configuration for module: EsysException unit tests"
 print "Build configuration for module: Bruce unit tests"  
67  print "         dodebug:  1"  print "         dodebug:  1"
68  print "          usegcc: ", usegcc  print "          usegcc: ", usegcc
69  print "             cxx: ", cxx  print "             cxx: ", cxx
# Line 76  lib_path = [esysUtils_lib_path, Line 89  lib_path = [esysUtils_lib_path,
89              CppUnitTest_lib_path]              CppUnitTest_lib_path]
90    
91  libs = ['esysUtils',  libs = ['esysUtils',
92          'CppUnitTest',          'CppUnitTest']
93          'guide',  
94          'irc']  libs.extend(sys_libs)
95    
96  sources = ['EsysExceptionTestCase.cpp',  sources = ['EsysExceptionTestCase.cpp',
97             'EsysExceptionTest.cpp']             'EsysExceptionTest.cpp']

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

  ViewVC Help
Powered by ViewVC 1.1.26