llvm/libc/src/assert/generic/CMakeLists.txt

add_entrypoint_object(
  __assert_fail
  SRCS
    __assert_fail.cpp
  HDRS
    ../__assert_fail.h
    ../assert.h
  DEPENDS
    libc.include.assert
    libc.src.__support.OSUtil.osutil
    libc.src.stdlib.abort
)