forked from cpputest/cpputest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
48 lines (46 loc) · 2.2 KB
/
CMakeLists.txt
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
43
44
45
46
47
48
set(CppUTestExt_src
CodeMemoryReportFormatter.cpp
IEEE754ExceptionsPlugin.cpp
MemoryReporterPlugin.cpp
MockFailure.cpp
MockSupportPlugin.cpp
MockActualCall.cpp
MockSupport_c.cpp
MemoryReportAllocator.cpp
MockExpectedCall.cpp
MockNamedValue.cpp
OrderedTest.cpp
MemoryReportFormatter.cpp
MockExpectedCallsList.cpp
MockSupport.cpp
)
set(CppUTestExt_headers
${CppUTestRootDirectory}/include/CppUTestExt/CodeMemoryReportFormatter.h
${CppUTestRootDirectory}/include/CppUTestExt/IEEE754ExceptionsPlugin.h
${CppUTestRootDirectory}/include/CppUTestExt/MemoryReportAllocator.h
${CppUTestRootDirectory}/include/CppUTestExt/MockExpectedCall.h
${CppUTestRootDirectory}/include/CppUTestExt/MockCheckedExpectedCall.h
${CppUTestRootDirectory}/include/CppUTestExt/MockExpectedCallsList.h
${CppUTestRootDirectory}/include/CppUTestExt/MockSupportPlugin.h
${CppUTestRootDirectory}/include/CppUTestExt/MemoryReportFormatter.h
${CppUTestRootDirectory}/include/CppUTestExt/MockFailure.h
${CppUTestRootDirectory}/include/CppUTestExt/MockSupport.h
${CppUTestRootDirectory}/include/CppUTestExt/MockSupport_c.h
${CppUTestRootDirectory}/include/CppUTestExt/GMock.h
${CppUTestRootDirectory}/include/CppUTestExt/GTest.h
${CppUTestRootDirectory}/include/CppUTestExt/MemoryReporterPlugin.h
${CppUTestRootDirectory}/include/CppUTestExt/OrderedTest.h
${CppUTestRootDirectory}/include/CppUTestExt/GTestConvertor.h
${CppUTestRootDirectory}/include/CppUTestExt/MockActualCall.h
${CppUTestRootDirectory}/include/CppUTestExt/MockCheckedActualCall.h
${CppUTestRootDirectory}/include/CppUTestExt/MockNamedValue.h
${CppUTestRootDirectory}/include/CppUTestExt/MockSupport.h
)
add_library(CppUTestExt STATIC ${CppUTestExt_src} ${CppUTestExt_headers})
target_link_libraries(CppUTestExt ${CPPUNIT_EXTERNAL_LIBRARIES})
install(FILES ${CppUTestExt_headers} DESTINATION include/CppUTestExt)
install(TARGETS CppUTestExt
EXPORT CppUTestTargets
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)