2021-06-09 07:04:11 +08:00
|
|
|
add_library(
|
2020-01-11 05:43:20 +08:00
|
|
|
LibcUnitTest
|
|
|
|
Test.h
|
2021-01-13 05:57:11 +08:00
|
|
|
LibcTest.cpp
|
|
|
|
LibcTest.h
|
2020-01-11 05:43:20 +08:00
|
|
|
)
|
2020-01-27 13:50:27 +08:00
|
|
|
target_include_directories(LibcUnitTest PUBLIC ${LIBC_SOURCE_DIR})
|
2021-10-28 02:49:00 +08:00
|
|
|
add_dependencies(LibcUnitTest libc.src.__support.CPP.standalone_cpp)
|
2020-02-27 01:19:09 +08:00
|
|
|
target_link_libraries(LibcUnitTest PUBLIC libc_test_utils)
|
2021-07-13 04:32:51 +08:00
|
|
|
|
|
|
|
add_library(
|
|
|
|
LibcUnitTestMain
|
|
|
|
LibcTestMain.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(LibcUnitTestMain PUBLIC ${LIBC_SOURCE_DIR})
|
2021-10-28 02:49:00 +08:00
|
|
|
add_dependencies(LibcUnitTestMain LibcUnitTest libc.src.__support.CPP.standalone_cpp)
|
2021-07-26 16:43:45 +08:00
|
|
|
target_link_libraries(LibcUnitTestMain PUBLIC LibcUnitTest libc_test_utils)
|
2021-07-13 04:32:51 +08:00
|
|
|
|
2021-10-28 05:07:35 +08:00
|
|
|
add_library(
|
|
|
|
LibcFPTestHelpers
|
|
|
|
FPExceptMatcher.cpp
|
|
|
|
FPExceptMatcher.h
|
|
|
|
FPMatcher.cpp
|
|
|
|
FPMatcher.h
|
|
|
|
)
|
|
|
|
target_include_directories(LibcFPTestHelpers PUBLIC ${LIBC_SOURCE_DIR})
|
|
|
|
target_link_libraries(LibcFPTestHelpers LibcUnitTest)
|
|
|
|
add_dependencies(
|
|
|
|
LibcFPTestHelpers
|
|
|
|
LibcUnitTest
|
|
|
|
libc.src.__support.CPP.standalone_cpp
|
|
|
|
libc.src.__support.FPUtil.fputil
|
|
|
|
)
|