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

Contents of /trunk/tools/CppUnitTest/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 178 - (show annotations)
Fri Nov 18 03:13:26 2005 UTC (14 years, 10 months ago) by jgs
File size: 592 byte(s)
first draft of scons config/construct files for CppUnitTest library

1 Import('*')
2
3 import os
4
5 cxx_flags = '-O0 -openmp -openmp_report0 -tpp2 -ansi -ansi_alias -no-gcc -w1'
6
7 cpp_path = ['#../CppUnitTest/inc']
8
9 lib = 'CppUnitTest'
10 sources = ['TestCase.cpp',
11 'TestFailure.cpp',
12 'TestRunner.cpp',
13 'TestSuite.cpp',
14 'TestResult.cpp',
15 'TextTestResult.cpp']
16
17 cppunit_env = Environment(ENV = os.environ)
18
19 cppunit_env.Replace(CXX = 'icc')
20 cppunit_env.Replace(CXXFLAGS = cxx_flags)
21 cppunit_env.Replace(CPPPATH = cpp_path)
22
23 cppunit_lib = cppunit_env.StaticLibrary(lib, sources)
24 cppunit_env.Install(libdir, cppunit_lib)

  ViewVC Help
Powered by ViewVC 1.1.26