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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3259 - (show annotations)
Mon Oct 11 01:48:14 2010 UTC (8 years, 11 months ago) by jfenwick
File size: 1202 byte(s)
Merging dudley and scons updates from branches

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14 import os
15 Import('*')
16 local_env = env.Clone()
17
18 sources = """
19 TestCase.cpp
20 TestFailure.cpp
21 TestResult.cpp
22 TestRunner.cpp
23 TestSuite.cpp
24 TextTestResult.cpp
25 """.split()
26
27 headers = """
28 CppUnitException.h
29 CppUnitTestNamespace.h
30 Guards.h
31 Test.h
32 TestCaller.h
33 TestCase.h
34 TestFailure.h
35 TestResult.h
36 TestRunner.h
37 TestSuite.h
38 TextTestResult.h
39 estring.h
40 """.split()
41
42 lib = local_env.StaticLibrary('CppUnitTest', sources)
43 env.Alias('build_cppunittest_lib', lib)
44
45 include_path = Dir('tools/CppUnitTest', local_env['incinstall'])
46
47 hdr_inst = local_env.Install(include_path, headers)
48 env.Alias('install_cppunittest_headers', hdr_inst)
49
50 lib_inst = local_env.Install(local_env['libinstall'], lib)
51 env.Alias('install_cppunittest_lib', lib_inst)
52

  ViewVC Help
Powered by ViewVC 1.1.26