These libraries do not depend on LLVM libraries anymore so they do not have to be added using add_llvm_library.
19 lines
290 B
CMake
19 lines
290 B
CMake
if(CMAKE_HOST_UNIX)
|
|
set(EFFile ExecuteFunctionUnix.cpp)
|
|
set(FDReaderFile FDReaderUnix.cpp)
|
|
endif()
|
|
|
|
add_library(
|
|
libc_test_utils
|
|
RandUtils.cpp
|
|
RandUtils.h
|
|
StreamWrapper.cpp
|
|
StreamWrapper.h
|
|
${EFFile}
|
|
ExecuteFunction.h
|
|
${FDReaderFile}
|
|
FDReader.h
|
|
Timer.h
|
|
Timer.cpp
|
|
)
|