/[escript]/trunk/finley/test/SConscript
ViewVC logotype

Diff of /trunk/finley/test/SConscript

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

revision 666 by robwdcock, Fri Mar 24 11:29:40 2006 UTC revision 667 by robwdcock, Fri Mar 24 13:25:00 2006 UTC
# Line 4  program_name = 'finley_UnitTest' Line 4  program_name = 'finley_UnitTest'
4    
5  local_env=env.Copy()  local_env=env.Copy()
6    
7    local_env.Append(LIBS=[ python_lib, boost_lib, 'finleycpp', 'escriptcpp', 'paso', 'esysUtils', 'CppUnitTest', scsl_libs, mkl_libs, umf_libs, sys_libs])
8    
9  src_dir = local_env.Dir('.').srcnode().abspath  src_dir = local_env.Dir('.').srcnode().abspath
10    
# Line 11  import os Line 12  import os
12  filenames = os.listdir(src_dir)  filenames = os.listdir(src_dir)
13  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']]
14    
 local_env.Append(LIBS=[ python_lib, boost_lib, 'paso', 'esysUtils', 'CppUnitTest', scsl_libs, mkl_libs, umf_libs, sys_libs])  
   
 local_env.sharedLinkHack(['finleycpp', 'escriptcpp',], libinstall, sources)  
   
   
15  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
16    
17  Depends(program, dep_lib)  Depends(program, dep_lib)

Legend:
Removed from v.666  
changed lines
  Added in v.667

  ViewVC Help
Powered by ViewVC 1.1.26