/[escript]/trunk/paso/src/SConscript
ViewVC logotype

Diff of /trunk/paso/src/SConscript

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

revision 2056 by phornby, Thu Oct 23 08:27:33 2008 UTC revision 2057 by phornby, Mon Nov 17 13:30:46 2008 UTC
# Line 17  Import('*') Line 17  Import('*')
17    
18  local_env = clone_env(env_mpi)  local_env = clone_env(env_mpi)
19    
20    lib_name = 'paso'
21    
22  sources = """  sources = """
23      BiCGStab.c      BiCGStab.c
24      Coupler.c      Coupler.c
# Line 110  headers = """ Line 112  headers = """
112      performance.h      performance.h
113  """.split()  """.split()
114    
115  lib = local_env.StaticLibrary('paso', sources)  if IS_WINDOWS_PLATFORM :
116      local_env.Append(CPPDEFINES = ['PASO_EXPORTS'])
117    
118    if local_env['share_paso'] :
119      lib = local_env.SharedLibrary(lib_name, sources)
120    else:
121      lib = local_env.StaticLibrary(lib_name, sources)
122    
123  env.Alias('target_paso_a', lib)  env.Alias('target_paso_a', lib)
124    
125  include_path = Dir('paso', local_env['incinstall'])  include_path = Dir('paso', local_env['incinstall'])

Legend:
Removed from v.2056  
changed lines
  Added in v.2057

  ViewVC Help
Powered by ViewVC 1.1.26