mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
107ce71849
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.
26 lines
524 B
CMake
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)
|