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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
291 B
CMake
Raw Normal View History

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)