2012-08-10 01:17:01 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2015-10-06 18:45:03 +08:00
|
|
|
${LLVM_TARGETS_TO_BUILD}
|
2013-12-10 20:40:37 +08:00
|
|
|
Support
|
2012-08-10 01:17:01 +08:00
|
|
|
)
|
|
|
|
|
2016-03-09 00:34:37 +08:00
|
|
|
# By default MSVC has a 2^16 limit on the number of sections in an object file,
|
|
|
|
# and this needs more than that.
|
|
|
|
if (MSVC)
|
|
|
|
set_source_files_properties(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj)
|
|
|
|
endif()
|
|
|
|
|
2012-06-21 17:51:42 +08:00
|
|
|
add_clang_unittest(ToolingTests
|
2012-06-25 07:56:26 +08:00
|
|
|
CommentHandlerTest.cpp
|
2012-06-21 17:51:42 +08:00
|
|
|
CompilationDatabaseTest.cpp
|
2016-05-11 22:31:39 +08:00
|
|
|
FixItTest.cpp
|
2015-10-22 23:04:10 +08:00
|
|
|
LookupTest.cpp
|
2016-05-11 22:31:39 +08:00
|
|
|
QualTypeNamesTest.cpp
|
2012-06-21 17:51:42 +08:00
|
|
|
RecursiveASTVisitorTest.cpp
|
2014-10-09 23:02:06 +08:00
|
|
|
RecursiveASTVisitorTestCallVisitor.cpp
|
|
|
|
RecursiveASTVisitorTestDeclVisitor.cpp
|
|
|
|
RecursiveASTVisitorTestExprVisitor.cpp
|
|
|
|
RecursiveASTVisitorTestTypeLocVisitor.cpp
|
2012-07-17 16:03:01 +08:00
|
|
|
RefactoringCallbacksTest.cpp
|
2016-05-11 22:31:39 +08:00
|
|
|
RefactoringTest.cpp
|
2013-08-21 03:07:21 +08:00
|
|
|
ReplacementsYamlTest.cpp
|
2016-05-11 22:31:39 +08:00
|
|
|
RewriterTest.cpp
|
|
|
|
ToolingTest.cpp
|
2012-06-21 17:51:42 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(ToolingTests
|
|
|
|
clangAST
|
2013-12-10 20:40:37 +08:00
|
|
|
clangASTMatchers
|
|
|
|
clangBasic
|
2016-03-30 00:31:53 +08:00
|
|
|
clangFormat
|
2013-12-10 20:40:37 +08:00
|
|
|
clangFrontend
|
|
|
|
clangLex
|
2014-07-17 00:48:33 +08:00
|
|
|
clangRewrite
|
2013-12-10 20:40:37 +08:00
|
|
|
clangTooling
|
2014-10-30 08:44:01 +08:00
|
|
|
clangToolingCore
|
2012-06-21 17:51:42 +08:00
|
|
|
)
|