These libraries do not depend on LLVM libraries anymore so they do not have to be added using add_llvm_library.
10 lines
254 B
CMake
10 lines
254 B
CMake
add_library(
|
|
LibcUnitTest
|
|
Test.h
|
|
LibcTest.cpp
|
|
LibcTest.h
|
|
)
|
|
target_include_directories(LibcUnitTest PUBLIC ${LIBC_SOURCE_DIR})
|
|
add_dependencies(LibcUnitTest libc.utils.CPP.standalone_cpp)
|
|
target_link_libraries(LibcUnitTest PUBLIC libc_test_utils)
|