/[escript]/branches/RW_WIN32/escript/src/Data/SConscript
ViewVC logotype

Diff of /branches/RW_WIN32/escript/src/Data/SConscript

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

revision 220 by robwdcock, Wed Nov 23 06:32:25 2005 UTC revision 221 by phornby, Thu Nov 24 11:23:33 2005 UTC
# Line 6  escript_env=env.Copy() Line 6  escript_env=env.Copy()
6    
7  src_dir = escript_env.Dir('.').srcnode().abspath  src_dir = escript_env.Dir('.').srcnode().abspath
8    
9  import os  import os
10  filenames = os.listdir(src_dir)  filenames = os.listdir(src_dir)
11  sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]  sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]
12  headers = [x for x in filenames if os.path.splitext(x)[1] in ['.h']]  headers = [x for x in filenames if os.path.splitext(x)[1] in ['.h']]
13    
14  include = Dir('escript/Data', esys_inc)  include = Dir('escript/Data', esys_inc)
15  escript_env.Install( include, headers )  escript_env.Install( include, headers )
16    
17  escript_env.Append(LIBS= [boost_lib_name, 'esysUtils'])  escript_env.Append(LIBS= [boost_lib_name, 'esysUtils'])
18    
19  if env['PLATFORM'] == "win32":  if env['PLATFORM'] == "win32" :
20     escript_env.Append(CPPDEFINES=['_WINDOWS', '_USRDLL', 'ESCRIPT_EXPORTS'])      escript_env.Append(CPPDEFINES=['_WINDOWS', '_USRDLL', 'ESCRIPT_EXPORTS'])
21     escript_env.Append(LIBS= ['ext_math'])      escript_env.Append(LIBS= ['ext_math'])
22     escript_env['PDB'] = lib_name + '.pdb'      escript_env['PDB'] = lib_name + '.pdb'
23    elif env['PLATFORM'] == "posix" :
24        pass
25  else:  else:
26     import os     import os
27        

Legend:
Removed from v.220  
changed lines
  Added in v.221

  ViewVC Help
Powered by ViewVC 1.1.26