/[escript]/branches/RW_WIN32/finley/src/CPPAdapter/SConscript
ViewVC logotype

Diff of /branches/RW_WIN32/finley/src/CPPAdapter/SConscript

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

revision 218 by robwdcock, Thu Nov 24 07:42:12 2005 UTC revision 221 by phornby, Thu Nov 24 11:23:33 2005 UTC
# Line 6  finleycpp_env=env.Copy() Line 6  finleycpp_env=env.Copy()
6    
7  src_dir = finleycpp_env.Dir('.').srcnode().abspath  src_dir = finleycpp_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('finley/CPPAdapter', esys_inc)  include = Dir('finley/CPPAdapter', esys_inc)
15  finleycpp_env.Install( include, headers )  finleycpp_env.Install( include, headers )
16    
17  finleycpp_env.Append(LIBS= [boost_lib_name, 'paso', 'escriptcpp', 'finleyC', 'esysUtils'])  finleycpp_env.Append(LIBS= [boost_lib_name, 'paso', 'escriptcpp', 'finleyC', 'esysUtils'])
18    
19  if env['PLATFORM'] == "win32":  if env['PLATFORM'] == "win32" or env['PLATFORM'] == "posix" :
20     finleycpp_env.Append(CPPDEFINES=['_WINDOWS', '_USRDLL', 'FINLEY_EXPORTS'])     finleycpp_env.Append(CPPDEFINES=['_WINDOWS', '_USRDLL', 'FINLEY_EXPORTS'])
21     finleycpp_env['PDB'] = lib_name + '.pdb'     finleycpp_env['PDB'] = lib_name + '.pdb'
22  else:  else:
23     import os     import os

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

  ViewVC Help
Powered by ViewVC 1.1.26