/[escript]/branches/RW_WIN32/tools/CppUnitTest/src/SConscript
ViewVC logotype

Diff of /branches/RW_WIN32/tools/CppUnitTest/src/SConscript

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

revision 208 by robwdcock, Tue Nov 22 07:55:09 2005 UTC revision 209 by robwdcock, Wed Nov 23 06:32:25 2005 UTC
# Line 1  Line 1 
1  Import('*')  Import('*')
2    
3  lib_name = 'CppUnitTest'  lib_name = 'CppUnitTest'
 sources = Split("""TestCase.cpp  
                    TestFailure.cpp  
                    TestRunner.cpp  
                    TestSuite.cpp  
                    TestResult.cpp  
                    TextTestResult.cpp""")  
   
4  cppunit_env=env.Copy()  cppunit_env=env.Copy()
5    
6    src_dir = cppunit_env.Dir('.').srcnode().abspath
7    
8    import os
9    filenames = os.listdir(src_dir)
10    sources = [x for x in filenames if os.path.splitext(x)[1] in ['.cpp', '.c']]
11    
12  cppunit_env.SConscript(dirs = ['#tools/CppUnitTest/inc/CppUnitTest'], duplicate=0)  cppunit_env.SConscript(dirs = ['#tools/CppUnitTest/inc/CppUnitTest'], duplicate=0)
13    
14  if env['PLATFORM'] <> "win32":  if env['PLATFORM'] <> "win32":

Legend:
Removed from v.208  
changed lines
  Added in v.209

  ViewVC Help
Powered by ViewVC 1.1.26