/[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 248 by jgs, Tue Nov 29 04:58:23 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    
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 21  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 41  sys.path.append(options_dir) Line 51  sys.path.append(options_dir)
51  if hostname=='ess':  if hostname=='ess':
52    from ess_options import *    from ess_options import *
53    
54    if usegcc==1:
55      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  #  #
# Line 83  lib_path = [esys_lib_path, Line 99  lib_path = [esys_lib_path,
99  libs = ['escriptcpp',  libs = ['escriptcpp',
100          'esysUtils',          'esysUtils',
101          'CppUnitTest',          'CppUnitTest',
102          'python2.3',          str(python_lib),
103          'boost_python-intel-d-1_31',          str(boost_lib),
104          'dl',          'dl',
105          'util',          'util',
106          'guide',          'guide',

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

  ViewVC Help
Powered by ViewVC 1.1.26