- UPDATE : Add cppunit source to CMake build enviroment. Now assimp can use it directly from the contrib-directory.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@748 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2010-06-02 20:07:29 +00:00
parent c38c91d28d
commit c127d53786
1 changed files with 114 additions and 1 deletions

View File

@ -1,6 +1,7 @@
INCLUDE_DIRECTORIES(
${Assimp_SOURCE_DIR}/include
${Assimp_SOURCE_DIR}/code
${Assimp_SOURCE_DIR}/contrib/cppunit-1.12.1/include
)
# Add the temporary output directories to the library path to make sure the
@ -12,6 +13,62 @@ SOURCE_GROUP( unit FILES
unit/BoostWorkaround/tupletest.cpp
)
SOURCE_GROUP( cppunit FILES
../contrib/cppunit-1.12.1/src/cppunit/AdditionalMessage.cpp
../contrib/cppunit-1.12.1/src/cppunit/Asserter.cpp
../contrib/cppunit-1.12.1/src/cppunit/BeOsDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/BriefTestProgressListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/CompilerOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.cpp
../contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.h
../contrib/cppunit-1.12.1/src/cppunit/DllMain.cpp
../contrib/cppunit-1.12.1/src/cppunit/DynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/DynamicLibraryManagerException.cpp
../contrib/cppunit-1.12.1/src/cppunit/Exception.cpp
../contrib/cppunit-1.12.1/src/cppunit/Message.cpp
../contrib/cppunit-1.12.1/src/cppunit/PlugInManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/PlugInParameters.cpp
../contrib/cppunit-1.12.1/src/cppunit/Protector.cpp
../contrib/cppunit-1.12.1/src/cppunit/ProtectorChain.cpp
../contrib/cppunit-1.12.1/src/cppunit/ProtectorChain.h
../contrib/cppunit-1.12.1/src/cppunit/ProtectorContext.h
../contrib/cppunit-1.12.1/src/cppunit/RepeatedTest.cpp
../contrib/cppunit-1.12.1/src/cppunit/ShlDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/SourceLine.cpp
../contrib/cppunit-1.12.1/src/cppunit/StringTools.cpp
../contrib/cppunit-1.12.1/src/cppunit/SynchronizedObject.cpp
../contrib/cppunit-1.12.1/src/cppunit/Test.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestAssert.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestCase.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestCaseDecorator.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestComposite.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestDecorator.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestFactoryRegistry.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestFailure.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestLeaf.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestNamer.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestPath.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestPlugInDefaultImpl.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestResult.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestResultCollector.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestRunner.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSetUp.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuccessListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuite.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuiteBuilderContext.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestProgressListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestResult.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestRunner.cpp
../contrib/cppunit-1.12.1/src/cppunit/TypeInfoHelper.cpp
../contrib/cppunit-1.12.1/src/cppunit/UnixDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/Win32DynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlDocument.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlElement.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputterHook.cpp
)
SOURCE_GROUP( tests FILES
unit/Main.cpp
unit/UnitTestPCH.cpp
@ -55,7 +112,6 @@ SOURCE_GROUP( tests FILES
unit/utTriangulate.h
unit/utVertexTriangleAdjacency.cpp
unit/utVertexTriangleAdjacency.h
)
add_executable( unit
@ -104,6 +160,63 @@ add_executable( unit
unit/utVertexTriangleAdjacency.h
unit/BoostWorkaround/tupletest.cpp
../contrib/cppunit-1.12.1/src/cppunit/AdditionalMessage.cpp
../contrib/cppunit-1.12.1/src/cppunit/Asserter.cpp
../contrib/cppunit-1.12.1/src/cppunit/BeOsDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/BriefTestProgressListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/CompilerOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.cpp
../contrib/cppunit-1.12.1/src/cppunit/DefaultProtector.h
../contrib/cppunit-1.12.1/src/cppunit/DllMain.cpp
../contrib/cppunit-1.12.1/src/cppunit/DynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/DynamicLibraryManagerException.cpp
../contrib/cppunit-1.12.1/src/cppunit/Exception.cpp
../contrib/cppunit-1.12.1/src/cppunit/Message.cpp
../contrib/cppunit-1.12.1/src/cppunit/PlugInManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/PlugInParameters.cpp
../contrib/cppunit-1.12.1/src/cppunit/Protector.cpp
../contrib/cppunit-1.12.1/src/cppunit/ProtectorChain.cpp
../contrib/cppunit-1.12.1/src/cppunit/ProtectorChain.h
../contrib/cppunit-1.12.1/src/cppunit/ProtectorContext.h
../contrib/cppunit-1.12.1/src/cppunit/RepeatedTest.cpp
../contrib/cppunit-1.12.1/src/cppunit/ShlDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/SourceLine.cpp
../contrib/cppunit-1.12.1/src/cppunit/StringTools.cpp
../contrib/cppunit-1.12.1/src/cppunit/SynchronizedObject.cpp
../contrib/cppunit-1.12.1/src/cppunit/Test.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestAssert.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestCase.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestCaseDecorator.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestComposite.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestDecorator.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestFactoryRegistry.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestFailure.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestLeaf.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestNamer.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestPath.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestPlugInDefaultImpl.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestResult.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestResultCollector.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestRunner.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSetUp.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuccessListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuite.cpp
../contrib/cppunit-1.12.1/src/cppunit/TestSuiteBuilderContext.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestProgressListener.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestResult.cpp
../contrib/cppunit-1.12.1/src/cppunit/TextTestRunner.cpp
../contrib/cppunit-1.12.1/src/cppunit/TypeInfoHelper.cpp
../contrib/cppunit-1.12.1/src/cppunit/UnixDynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/Win32DynamicLibraryManager.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlDocument.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlElement.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputter.cpp
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputterHook.cpp
)
IF( WIN32 )