Need /bigobj to build SourceCodeTest.cpp with MSVC.
authorAdrian McCarthy <amccarth@google.com>
Thu, 27 Feb 2020 22:33:24 +0000 (14:33 -0800)
committerAdrian McCarthy <amccarth@google.com>
Thu, 27 Feb 2020 22:56:29 +0000 (14:56 -0800)
clang/unittests/Tooling/CMakeLists.txt

index be64184..1f66ffd 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
 if (MSVC)
   set_source_files_properties(RecursiveASTVisitorTest.cpp PROPERTIES COMPILE_FLAGS /bigobj)
   set_source_files_properties(RecursiveASTVisitorTestExprVisitor.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+  set_source_files_properties(SourceCodeTest.cpp PROPERTIES COMPILE_FLAGS /bigobj)
 endif()
 
 add_clang_unittest(ToolingTests