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})
|
2020-03-05 07:45:51 +08:00
|
|
|
add_dependencies(LibcUnitTest libc.utils.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})
|
|
|
|
add_dependencies(LibcUnitTestMain LibcUnitTest libc.utils.CPP.standalone_cpp)
|
|
|
|
target_link_libraries(LibcUnitTestMain PUBLIC libc_test_utils)
|
|
|
|
|