/[escript]/trunk/escript/test/DataBlocks2D/SConstruct
ViewVC logotype

Diff of /trunk/escript/test/DataBlocks2D/SConstruct

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

revision 235 by jgs, Mon Nov 28 04:36:16 2005 UTC revision 252 by jgs, Tue Nov 29 05:58:03 2005 UTC
# Line 14  EnsureSConsVersion(0,96) Line 14  EnsureSConsVersion(0,96)
14    
15  esysroot = Dir('#../../..')  esysroot = Dir('#../../..')
16  usegcc = 0  usegcc = 0
17    options = None
18    sys_libs = []
19    
20    #
21    # import configuration variables passed in from
22    # calling SConscript (if any)
23    
24    Import('*')
25    
26  #  #
27  # retreive command-line arguments if any  # retreive command-line arguments if any
# Line 21  usegcc = 0 Line 29  usegcc = 0
29  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
30    usegcc = 1    usegcc = 1
31    
32    if ARGUMENTS.get('options',0):
33      options = ARGUMENTS.get('options',0)
34    
35  #  #
36  # determine platform  # determine platform
37    
# Line 41  sys.path.append(options_dir) Line 52  sys.path.append(options_dir)
52  if hostname=='ess':  if hostname=='ess':
53    from ess_options import *    from ess_options import *
54    
55    if usegcc==1:
56      from gcc_options import *
57    
58    if options!=None:
59      exec "from " + options + " import *"
60    
61  cxx_flags=cxx_flags_debug  cxx_flags=cxx_flags_debug
62    
63  #  #
# Line 83  lib_path = [esys_lib_path, Line 100  lib_path = [esys_lib_path,
100  libs = ['escriptcpp',  libs = ['escriptcpp',
101          'esysUtils',          'esysUtils',
102          'CppUnitTest',          'CppUnitTest',
103          'python2.3',          str(python_lib),
104          'boost_python-intel-d-1_31',          str(boost_lib),
105          'dl',          'dl',
106          'util',          'util']
107          'guide',  
108          'irc']  libs.extend(sys_libs)
109    
110  sources = ['DataBlocks2DTestCase.cpp',  sources = ['DataBlocks2DTestCase.cpp',
111             'DataBlocks2DTest.cpp']             'DataBlocks2DTest.cpp']

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

  ViewVC Help
Powered by ViewVC 1.1.26