Debian Codegraph @

tests/CppUTestExt/CMakeLists.txt

raw
1 set(CppUTestExtTests_src
2 AllTests.cpp
3 CodeMemoryReporterTest.cpp
4 GMockTest.cpp
5 GTest1Test.cpp
6 IEEE754PluginTest.cpp
7 IEEE754PluginTest_c.c
8 MemoryReportAllocatorTest.cpp
9 MemoryReporterPluginTest.cpp
10 MemoryReportFormatterTest.cpp
11 MockActualCallTest.cpp
12 MockCheatSheetTest.cpp
13 MockCallTest.cpp
14 MockComparatorCopierTest.cpp
15 MockExpectedCallTest.cpp
16 ExpectedFunctionsListTest.cpp
17 MockFailureReporterForTest.cpp
18 MockFailureTest.cpp
19 MockHierarchyTest.cpp
20 MockNamedValueTest.cpp
21 MockParameterTest.cpp
22 MockPluginTest.cpp
23 MockSupportTest.cpp
24 MockSupport_cTestCFile.c
25 MockSupport_cTest.cpp
26 MockStrictOrderTest.cpp
27 MockReturnValueTest.cpp
28 OrderedTestTest_c.c
29 OrderedTestTest.cpp
30 )
31
32 if (MINGW)
33 find_package (Threads REQUIRED)
34 set(THREAD_LIB "pthread")
35 endif (MINGW)
36
37 add_executable(CppUTestExtTests ${CppUTestExtTests_src})
38 cpputest_normalize_test_output_location(CppUTestExtTests)
39 target_link_libraries(CppUTestExtTests CppUTest CppUTestExt ${THREAD_LIB} ${CPPUNIT_EXTERNAL_LIBRARIES})
40
41 if (TESTS_BUILD_DISCOVER)
42 cpputest_buildtime_discover_tests(CppUTestExtTests)
43 endif()