llvm-for-llvmta/tools/clang/unittests/Frontend/CMakeLists.txt

28 lines
499 B
CMake
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
set(LLVM_LINK_COMPONENTS
Support
)
add_clang_unittest(FrontendTests
ASTUnitTest.cpp
CompilerInvocationTest.cpp
CompilerInstanceTest.cpp
FixedPointString.cpp
FrontendActionTest.cpp
CodeGenActionTest.cpp
ParsedSourceLocationTest.cpp
PCHPreambleTest.cpp
OutputStreamTest.cpp
TextDiagnosticTest.cpp
)
clang_target_link_libraries(FrontendTests
PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
clangSema
clangCodeGen
clangFrontendTool
clangSerialization
)