summaryrefslogtreecommitdiffstats
blob: aabb1965608fd6e09e678f2b9ba93a975d668e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Import("env")

env["CPPUNIT_FLAGS"] = {
		"CPPPATH": [env.Dir(".")],
		"LIBPATH": [env.Dir(".")],
		"LIBS": ["CppUnit"]
	}

env.StaticLibrary("CppUnit", [
		"src/TextTestRunner.cpp",
		"src/TextTestProgressListener.cpp",
		"src/BriefTestProgressListener.cpp",
		"src/TextOutputter.cpp",
		"src/XmlOutputter.cpp",
		"src/XmlElement.cpp",
		"src/XmlDocument.cpp",
		"src/StringTools.cpp",
		"src/DefaultProtector.cpp",
		"src/Protector.cpp",
		"src/ProtectorChain.cpp",
		"src/SynchronizedObject.cpp",
		"src/SourceLine.cpp",
		"src/TestRunner.cpp",
		"src/TestFactoryRegistry.cpp",
		"src/TestSuite.cpp",
		"src/TestSuiteBuilderContext.cpp",
		"src/TestResult.cpp",
		"src/TestResultCollector.cpp",
		"src/TestSuccessListener.cpp",
		"src/TestComposite.cpp",
		"src/TestCase.cpp",
		"src/TestFailure.cpp",
		"src/TestLeaf.cpp",
		"src/TestNamer.cpp",
		"src/Asserter.cpp",
		"src/TypeInfoHelper.cpp",
		"src/Exception.cpp",
		"src/Message.cpp",
		"src/AdditionalMessage.cpp",
		"src/Test.cpp",
		"src/TestPath.cpp"
	], CPPPATH = ".")