/[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 246 by jgs, Tue Nov 29 04:27:00 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  # retreive command-line arguments if any  # retreive command-line arguments if any
# Line 21  usegcc = 0 Line 22  usegcc = 0
22  if ARGUMENTS.get('usegcc',0):  if ARGUMENTS.get('usegcc',0):
23    usegcc = 1    usegcc = 1
24    
25    if ARGUMENTS.get('options',0):
26      options = ARGUMENTS.get('options',0)
27    
28  #  #
29  # determine platform  # determine platform
30    
# Line 41  sys.path.append(options_dir) Line 45  sys.path.append(options_dir)
45  if hostname=='ess':  if hostname=='ess':
46    from ess_options import *    from ess_options import *
47    
48    if usegcc==1:
49      from gcc_options import *
50    
51    if options!=None:
52      exec "from " + options + " import *"
53    
54  cxx_flags=cxx_flags_debug  cxx_flags=cxx_flags_debug
55    
56  #  #
# Line 83  lib_path = [esys_lib_path, Line 93  lib_path = [esys_lib_path,
93  libs = ['escriptcpp',  libs = ['escriptcpp',
94          'esysUtils',          'esysUtils',
95          'CppUnitTest',          'CppUnitTest',
96          'python2.3',          str(python_lib),
97          'boost_python-intel-d-1_31',          str(boost_lib),
98          'dl',          'dl',
99          'util',          'util',
100          'guide',          'guide',

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

  ViewVC Help
Powered by ViewVC 1.1.26