llvm-project/libc/utils/UnitTest/CMakeLists.txt

11 lines
291 B
CMake

add_llvm_library(
LibcUnitTest
Test.cpp
Test.h
ErrnoSetterMatcher.h
LINK_COMPONENTS Support
)
target_include_directories(LibcUnitTest PUBLIC ${LIBC_SOURCE_DIR})
add_dependencies(LibcUnitTest libc.utils.CPP.standalone_cpp)
target_link_libraries(LibcUnitTest PUBLIC libc_test_utils)