/[escript]/branches/RW_WIN32/esysUtils/test/EsysException/SConscript
ViewVC logotype

Contents of /branches/RW_WIN32/esysUtils/test/EsysException/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218 - (show annotations)
Thu Nov 24 07:42:12 2005 UTC (13 years, 9 months ago) by robwdcock
File size: 638 byte(s)
All C++/C Unit tests now build (using scons) and pass on win32
1 Import('*')
2
3 program_name = 'EsysExceptionTest'
4
5 local_env=env.Copy()
6
7 local_env.Append(LIBS=['esysUtils', 'CppUnitTest'])
8
9 src_dir = local_env.Dir('.').srcnode().abspath
10
11 import os
12 filenames = os.listdir(src_dir)
13 sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]
14
15
16 if env['PLATFORM'] == "win32":
17 local_env['PDB'] = program_name+'.pdb'
18
19
20 program = local_env.Program(program_name, sources)
21 # TODO: Need to decide on how the library paths etc are going to be handled
22 # TODO: For now just install the program to the same location as the libraries so things can run at least
23 local_env.Install(esys_lib, program)

  ViewVC Help
Powered by ViewVC 1.1.26