Files
clang-p2996/libc/utils/LibcTableGenUtil/CMakeLists.txt
Guillaume Chatelet 467077796a [reland][libc][cmake] Tidy compiler includes (#66783) (#66878)
This is a reland of #66783 a35a3b75b2
fixing the benchmark breakage.
2023-09-20 11:21:46 +02:00

10 lines
306 B
CMake

add_llvm_library(
LibcTableGenUtil
APIIndexer.cpp
APIIndexer.h
DISABLE_LLVM_LINK_LLVM_DYLIB
LINK_COMPONENTS Support TableGen
)
target_include_directories(LibcTableGenUtil PUBLIC ${LIBC_SOURCE_DIR})
target_include_directories(LibcTableGenUtil PRIVATE ${LLVM_INCLUDE_DIR} ${LLVM_MAIN_INCLUDE_DIR})