/[escript]/branches/RW_WIN32/finley/test/SConscript
ViewVC logotype

Diff of /branches/RW_WIN32/finley/test/SConscript

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

revision 212 by robwdcock, Thu Nov 24 04:16:33 2005 UTC revision 218 by robwdcock, Thu Nov 24 07:42:12 2005 UTC
# Line 2  Import('*') Line 2  Import('*')
2  local_env=env.Copy()  local_env=env.Copy()
3    
4  program_name = 'finley_UnitTest'  program_name = 'finley_UnitTest'
5  local_env.Append(LIBS=[boost_lib_name, 'brucecpp', 'escriptcpp', 'esysUtils', 'CppUnitTest'])  local_env.Append(LIBS=[boost_lib_name, 'finleycpp', 'brucecpp', 'escriptcpp', 'esysUtils', 'CppUnitTest'])
6    
7  src_dir = local_env.Dir('.').srcnode().abspath  src_dir = local_env.Dir('.').srcnode().abspath
8    
# Line 10  import os Line 10  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    
13    if env['PLATFORM'] == "win32":
14       local_env['PDB'] = program_name+'.pdb'
15    
16    
17  program = local_env.Program(program_name, sources)  program = local_env.Program(program_name, sources)
18  # TODO: Need to decide on how the library paths etc are going to be handled  # TODO: Need to decide on how the library paths etc are going to be handled

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

  ViewVC Help
Powered by ViewVC 1.1.26