Revision 689, 1.2 kB
(checked in by mido, 15 years ago)
|
new version of libconfig added
an improvement of testsuite - calling of "testsuite print" prints all the currently prepared unit tests
a CMakeLists.txt modificiation to remowe CMake 2.8 warnings
|
Rev | Line | |
---|
[418] | 1 | # Create a library called "unittest" which includes sources from this |
---|
| 2 | # platform's subdirectory |
---|
| 3 | |
---|
| 4 | SET(unittest_src AssertException.cpp AssertException.h CheckMacros.h Checks.cpp Checks.h Config.h CurrentTest.cpp CurrentTest.h DeferredTestReporter.cpp DeferredTestReporter.h DeferredTestResult.cpp DeferredTestResult.h ExecuteTest.h MemoryOutStream.cpp MemoryOutStream.h ReportAssert.cpp ReportAssert.h Test.cpp Test.h TestDetails.cpp TestDetails.h TestList.cpp TestList.h TestMacros.h TestReporter.cpp TestReporter.h TestReporterStdout.cpp TestReporterStdout.h TestResults.cpp TestResults.h TestRunner.cpp TestRunner.h TestSuite.h TimeConstraint.cpp TimeConstraint.h TimeHelpers.h UnitTest++.h XmlTestReporter.cpp XmlTestReporter.h) |
---|
| 5 | |
---|
| 6 | IF(WIN32) |
---|
| 7 | SET(unittest_src ${unittest_src} Win32/TimeHelpers.cpp Win32/TimeHelpers.h) |
---|
| 8 | ELSE() |
---|
| 9 | SET(unittest_src ${unittest_src} Posix/SignalTranslator.cpp Posix/SignalTranslator.h Posix/TimeHelpers.cpp Posix/TimeHelpers.h) |
---|
| 10 | ENDIF() |
---|
| 11 | |
---|
| 12 | add_library(unittest ${unittest_src}) |
---|
| 13 | |
---|
[689] | 14 | # From CMake version 2.8, it is not allowed to add subdirectories without |
---|
| 15 | # their CMakeLists, therfore were the following two lines commented out: |
---|
| 16 | # add_subdirectory(Posix) |
---|
| 17 | # add_subdirectory(Win32) |
---|