Skip to content

CppUnitCMake

uboot edited this page Aug 3, 2015 · 5 revisions
project(cppunit)

cmake_minimum_required(VERSION 2.8)

include_directories(
    ../../include
)

set(SOURCES
    RepeatedTest.cpp
    TestCaseDecorator.cpp
    TestDecorator.cpp
    TestSetUp.cpp
    TestFactoryRegistry.cpp
    TestNamer.cpp
    TestSuiteBuilderContext.cpp
    TypeInfoHelper.cpp
    AdditionalMessage.cpp
    Asserter.cpp
    Exception.cpp
    Message.cpp
    SourceLine.cpp
    SynchronizedObject.cpp
    Test.cpp
    TestAssert.cpp
    TestCase.cpp
    TestComposite.cpp
    TestFailure.cpp
    TestLeaf.cpp
    TestPath.cpp
    TestResult.cpp
    TestRunner.cpp
    TestSuite.cpp
    CompilerOutputter.cpp
    TestResultCollector.cpp
    TextOutputter.cpp
    XmlOutputter.cpp
    XmlOutputterHook.cpp
    TextTestRunner.cpp
    BriefTestProgressListener.cpp
    TestSuccessListener.cpp
    TextTestProgressListener.cpp
    TextTestResult.cpp
    BeosDynamicLibraryManager.cpp
    DynamicLibraryManager.cpp
    DynamicLibraryManagerException.cpp
    PlugInManager.cpp
    PlugInParameters.cpp
    TestPlugInDefaultImpl.cpp
    UnixDynamicLibraryManager.cpp
    Win32DynamicLibraryManager.cpp
    StringTools.cpp
    XmlDocument.cpp
    XmlElement.cpp
    DefaultProtector.cpp
    Protector.cpp
    ProtectorChain.cpp
)

add_library(cppunit ${SOURCES})
Clone this wiki locally