llvm-capstone/libc/test/CMakeLists.txt
Siva Chandra Reddy 107ce71849 [libc] Use real objects and archives in integration tests.
Previously, we used empty, non-ELF crti.o, crtn.o, libm.a and libc++.a
files. Instead, we now still use dummies but they are real ELF object
files and archives.
2022-03-24 07:02:33 +00:00

26 lines
524 B
CMake

add_header_library(
errno_setter_matcher
HDRS
ErrnoSetterMatcher.h
)
add_custom_target(check-libc)
add_custom_target(check-llvmlibc)
add_dependencies(check-libc check-llvmlibc)
add_custom_target(exhaustive-check-libc)
add_custom_target(libc-long-running-tests)
add_subdirectory(src)
add_subdirectory(utils)
if(NOT LLVM_LIBC_FULL_BUILD)
return()
endif()
if(NOT (${LIBC_TARGET_OS} STREQUAL "linux"))
# Integration tests are currently only available for linux.
return()
endif()
add_subdirectory(integration)