/[escript]/trunk/tools/CppUnitTest/src/SConscript
ViewVC logotype

Annotation of /trunk/tools/CppUnitTest/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (hide annotations)
Mon Nov 21 04:10:12 2005 UTC (15 years ago) by jgs
File size: 583 byte(s)
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
1 jgs 178 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 178
6 jgs 190 CppUnitTest_path = str(esysroot) + '/tools/CppUnitTest/inc'
7 jgs 178
8 jgs 190 cpp_path = [CppUnitTest_path]
9    
10 jgs 178 lib = 'CppUnitTest'
11     sources = ['TestCase.cpp',
12     'TestFailure.cpp',
13     'TestRunner.cpp',
14     'TestSuite.cpp',
15     'TestResult.cpp',
16     'TextTestResult.cpp']
17    
18     cppunit_env = Environment(ENV = os.environ)
19    
20     cppunit_env.Replace(CXX = 'icc')
21     cppunit_env.Replace(CXXFLAGS = cxx_flags)
22     cppunit_env.Replace(CPPPATH = cpp_path)
23    
24     cppunit_lib = cppunit_env.StaticLibrary(lib, sources)
25     cppunit_env.Install(libdir, cppunit_lib)

  ViewVC Help
Powered by ViewVC 1.1.26