llvm-project/clang/unittests/CodeGen/CMakeLists.txt

24 lines
370 B
CMake

set(LLVM_LINK_COMPONENTS
Core
Support
)
add_clang_unittest(ClangCodeGenTests
BufferSourceTest.cpp
CodeGenExternalTest.cpp
TBAAMetadataTest.cpp
CheckTargetFeaturesTest.cpp
)
clang_target_link_libraries(ClangCodeGenTests
PRIVATE
clangAST
clangBasic
clangCodeGen
clangFrontend
clangInterpreter
clangLex
clangParse
clangSerialization
)