[libc-commits] [PATCH] D150727: [libc] Add a convenience CMake function `add_unittest_framework_library`.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 16 23:56:44 PDT 2023


sivachandra added a comment.

In D150727#4348169 <https://reviews.llvm.org/D150727#4348169>, @jhuber6 wrote:

> I got the following error when trying to build locally
>
>   CMake Error at /home/jhuber/Documents/llvm/llvm-project/libc/test/UnitTest/CMakeLists.txt:10 (message):
>     'add_unittest_framework_library' requires SRCS; for header only libraries,
>     use 'add_header_library'
>   Call Stack (most recent call first):
>     /home/jhuber/Documents/llvm/llvm-project/libc/test/UnitTest/CMakeLists.txt:78 (add_unittest_framework_library)

Thanks for trying. I messed up the sources of the`LibcDeathTestExecutors` library. It should be fixed now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150727/new/

https://reviews.llvm.org/D150727



More information about the libc-commits mailing list