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

34 lines
653 B
CMake
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
set(LLVM_LINK_COMPONENTS
Support
)
add_clang_unittest(FormatTests
CleanupTest.cpp
FormatTest.cpp
FormatTestComments.cpp
FormatTestCSharp.cpp
FormatTestJS.cpp
FormatTestJava.cpp
FormatTestObjC.cpp
FormatTestProto.cpp
FormatTestRawStrings.cpp
FormatTestSelective.cpp
FormatTestTableGen.cpp
FormatTestTextProto.cpp
MacroExpanderTest.cpp
NamespaceEndCommentsFixerTest.cpp
SortImportsTestJS.cpp
SortImportsTestJava.cpp
SortIncludesTest.cpp
UsingDeclarationsSorterTest.cpp
TokenAnnotatorTest.cpp
)
clang_target_link_libraries(FormatTests
PRIVATE
clangBasic
clangFormat
clangRewrite
clangToolingCore
)