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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2881 - (show annotations)
Thu Jan 28 02:03:15 2010 UTC (9 years, 10 months ago) by jfenwick
File size: 1152 byte(s)
Don't panic.
Updating copyright stamps

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
15 import os
16 Import('*')
17
18 local_env = clone_env(env)
19
20 sources = """
21 TestCase.cpp
22 TestFailure.cpp
23 TestResult.cpp
24 TestRunner.cpp
25 TestSuite.cpp
26 TextTestResult.cpp
27 """.split()
28 headers = """
29 CppUnitException.h
30 CppUnitTestNamespace.h
31 Guards.h
32 Test.h
33 TestCaller.h
34 TestCase.h
35 TestFailure.h
36 TestResult.h
37 TestRunner.h
38 TestSuite.h
39 TextTestResult.h
40 estring.h
41 """.split()
42
43 lib = local_env.StaticLibrary('CppUnitTest', sources)
44 env.Alias('target_cppunittest_a', lib)
45
46 include_path = Dir('tools/CppUnitTest', local_env['incinstall'])
47
48 tmp1 = local_env.Install(include_path, headers )
49 env.Alias('target_install_cppunittest_headers', [tmp1])
50
51 tmp2 = local_env.Install(local_env['libinstall'], lib)
52 env.Alias('target_install_cppunittest_a', [tmp2])
53

  ViewVC Help
Powered by ViewVC 1.1.26