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

Diff of /trunk/ripley/src/SConscript

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

revision 3790 by caltinay, Mon Jan 23 22:18:49 2012 UTC revision 3791 by caltinay, Wed Feb 1 05:10:22 2012 UTC
# Line 19  py_wrapper_local_env = env.Clone() Line 19  py_wrapper_local_env = env.Clone()
19  local_unroll_env = env.Clone()  local_unroll_env = env.Clone()
20    
21    
22  # Remove the sharedlibrary prefix on all platform - we don't want 'lib' mucking with our python modules  # Remove the shared library prefix on all platforms - we don't want 'lib'
23    # mucking with our python modules
24  del py_wrapper_local_env['SHLIBPREFIX']  del py_wrapper_local_env['SHLIBPREFIX']
25    
26  sources = """  sources = """
27      Brick.cpp      Brick.cpp
28      Rectangle.cpp      Rectangle.cpp
     RipleyException.cpp  
29      RipleyDomain.cpp      RipleyDomain.cpp
30  """.split()      RipleyException.cpp
 unroll_sources= """  
     Assemble_Gradient_2D.c  
     Assemble_Gradient_3D.c  
     Assemble_PDE_Single_2D.c  
     Assemble_PDE_Single_2D_reduced.c  
     Assemble_PDE_Single_3D.c  
     Assemble_PDE_Single_3D_reduced.c  
     Assemble_PDE_System_2D.c  
     Assemble_PDE_System_2D_reduced.c  
     Assemble_PDE_System_3D.c  
     Assemble_PDE_System_3D_reduced.c  
31  """.split()  """.split()
32    
33  headers = """  headers = """
34      Brick.h      Brick.h
35      Rectangle.h      Rectangle.h
36      Ripley.h      Ripley.h
     RipleyException.h  
37      RipleyDomain.h      RipleyDomain.h
38        RipleyException.h
39      system_dep.h      system_dep.h
40  """.split()  """.split()
41    
# Line 60  if IS_WINDOWS: Line 49  if IS_WINDOWS:
49    
50  module_name = 'ripley'  module_name = 'ripley'
51    
52  un = [] #[ local_unroll_env.SharedObject(x) for x in unroll_sources]  lib = local_env.SharedLibrary(module_name, sources)
   
 lib = local_env.SharedLibrary(module_name, sources+un)  
53  env.Alias('build_ripley_lib', lib)  env.Alias('build_ripley_lib', lib)
54    
55  include_path = Dir('ripley', local_env['incinstall'])  include_path = Dir('ripley', local_env['incinstall'])

Legend:
Removed from v.3790  
changed lines
  Added in v.3791

  ViewVC Help
Powered by ViewVC 1.1.26