bolt/deps/llvm-18.1.8/libc/test/include/CMakeLists.txt
2025-02-14 19:21:04 +01:00

16 lines
417 B
CMake

add_custom_target(libc_include_tests)
add_libc_test(
sys_queue_test
SUITE
libc_include_tests
SRCS
sys/queue_test.cpp
DEPENDS
libc.include.llvm-libc-macros.sys_queue_macros
libc.src.__support.char_vector
libc.src.__support.CPP.string
COMPILE_OPTIONS
# This is needed because the __containerof macro uses statement expression.
-Wno-gnu-statement-expression-from-macro-expansion
)